[comp:select]IxSelect在中文输入法输入时回车,onSearch事件会失效
lyyzhh opened this issue · 4 comments
lyyzhh commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
前提:系统输入法为中文输入法,IxSelect组件配置searchable,multiple,@search
步骤1:光标激活select组件,输入关键字
步骤2:按回车键,此时关键字已键入组件内,同时会选中第一个选项
步骤3,手动取消掉第一个选中项(或按退格键取消),此时@search事件失效
What is expected?
What is actually happening?
Environment Info
@idux/component@1.4.2
Any additional comments? (optional)
danranVm commented
步骤2:按回车键,此时关键字已键入组件内,同时会选中第一个选项
当你选中了一个值后,此时搜索操作已经结束了,
取消掉选中项
,onSearch 不触发是正常的行为。
lyyzhh commented
是清除选中后,再次输入关键字,无法触发onSearch
danranVm commented
是清除选中后,再次输入关键字,无法触发onSearch
我刚刚尝试了下,没有复现出来。
danranVm commented