Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select 开启filterable,在disabled情况下可以输入 #1547

Closed
warriorg opened this issue Aug 6, 2017 · 4 comments
Closed

Select 开启filterable,在disabled情况下可以输入 #1547

warriorg opened this issue Aug 6, 2017 · 4 comments
Labels

Comments

@warriorg
Copy link

warriorg commented Aug 6, 2017

看了下 Select的源码,Input的部分没有应用 Disabled

@warriorg
Copy link
Author

warriorg commented Aug 6, 2017

select 双向绑定中,清理v-model的值,Select中还是之前的。虽然已经没有选中任何值了

@lwyj123
Copy link
Contributor

lwyj123 commented Aug 11, 2017

还是我来提供个在线的吧。这个issues看到过两次了
https://codepen.io/lwyj123/pen/dzRaZX

@icarusion icarusion added the bug label Aug 18, 2017
@icarusion
Copy link
Contributor

@lwyj123 thanks.

@kiddkyd2
Copy link

@icarusion 提个意见,在选了一个选项后,如果想“从中间开始”修改这个选项,貌似是不行的。
因为鼠标一点击下拉列表,就会自动全选这个选项,光标无法移动,光标无法定位到已选项的某一个位置。

最恐怖的是,如果用户双击多几次,导致取消了全选文字状态,这时候,一般用户以为可以删除部分文字重新搜索,而按了“退格”键,页面就会整个后退。。。

另外,似乎开启了搜索功能后,下拉列表在空数据源的情况下,无法对v-model强制修改数值?这个迟点我上个demo。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants