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

若输入的值没匹配到或者下拉框为空,失去焦点时能不能清空输入框? #107

Open
muwen opened this issue Oct 24, 2014 · 3 comments

Comments

@muwen
Copy link

muwen commented Oct 24, 2014

如题

@popomore
Copy link
Member

这里应该没什么关系,如果要清除可以设置 data 为空—
Sent from Mailbox for iPhone

On Fri, Oct 24, 2014 at 4:15 PM, muwen [email protected] wrote:

如题

Reply to this email directly or view it on GitHub:
#107

@muwen
Copy link
Author

muwen commented Oct 24, 2014

能不能实现这种效果? --- http://alinw.spmjs.org/autosearchtext/examples/index.html 没选中下拉中的值时失去焦点 则自动清空输入框的值 - -,有些匹配比较严谨,需一定要从下拉中选择到的值才算有效,禁止随便输入的

@popomore
Copy link
Member

肯定能实现,只是要继承处理—
Sent from Mailbox for iPhone

On Fri, Oct 24, 2014 at 5:20 PM, muwen [email protected] wrote:

能不能实现这种效果? --- http://alinw.spmjs.org/autosearchtext/examples/index.html 没选中下拉中的值时失去焦点 则自动清空输入框的值 - -,有些匹配比较严谨,需一定要从下拉中选择到的值才算有效,禁止随便输入的

Reply to this email directly or view it on GitHub:
#107 (comment)

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

No branches or pull requests

2 participants