Comments (5)
-
不管是单选还是多选模式,$('xxx').selectPageClear();的API都会清空所有选中项目,这个在 https://terryz.github.io/demo.html 的DEMO页面第1个演示项目的第二个按钮“清除所有选中项目”就是具体的实例
-
实际向服务端提交数据的是一个hidden隐藏域,而它的name属性正是初始化input的name,输入框中的文本内容不会影响数据的正确性,另外设置noResultClean : true也可以达到无匹配项目自动清除手动输入的内容
from selectpage.
不好意思,可能第一个我说的不是很明白,我指的是内置的按钮删除,并非外部调用。和多选一样,有清除按钮。
第二点明白了,非常感谢。
from selectpage.
单选模式下,将输入框的文字全部清除,就是清除选中的功能
from selectpage.
如果输入框拥有readonly的话,目前无法清除数据。
from selectpage.
@MonkSoul 目前最新发布的v2.4版本已经增加了单选模式下选中了项目,自动出现清除的小图标,同时增加关闭分页栏,增加纯选择的模式
from selectpage.
Related Issues (20)
- 问题 HOT 1
- 加载多次的情况下会叠加加载,不会清除再加载
- 控件加载完以后如何设置默认值
- 功能建议 HOT 5
- 多项选择模式未提供全选当前页的回调事件
- 分页多选,超过分页每页的数量后,数据回显有问题
- selectPageRefresh会触发eTagRemove,并且传入了选中项目,导致删除了项目
- 2.19版本的calcResultsSize的screenTop获取是基于window对象的没办法在绝对定位的父元素自动改变位置
- 该插件不支持输入吗?
- 下拉框文本自定义后,添加默认选中
- Ajax请求下,多关键字联合查询会出Bug,加了空格后没有反应
- 选择内容太多,分页框被挤下去,无法切换下一页
- 修正默认选中值无效BUG
- 不输入文字的时候建议取消后台请求,因为可能数据很多
- ##用法咨询## 在多选模式时,输入关键字,筛选的一些疑问
- 建议在初始选中时触发一次eSelect HOT 1
- 下拉输入框在苹果手机端不能用 HOT 1
- let user to add a new entry HOT 1
- ajax情况下的beforeSend事件 HOT 3
- Ajax情况中怎么设置请求头呢 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selectpage.