【发布时间】:2011-06-30 18:53:49
【问题描述】:
jquery UI 团队有一个blog on how to replace the legacy autocomplete and justifies that it can replicate all of the old features and options。根据我的测试,我认为它们无法复制:
- selectFirst 如果您有远程数据源
- selectFirst 或 mustMatch 如果您使用的是 multiple: true
我看到this plugin 中的this questions on how to replicate some of the legacy autocomplete 选项,并且有一个选定的答案,但它没有解决这些情况。
jquery ui folks have an example of replicating selectFirst in the new autocomplete,但除非我弄错了,否则它仅适用于本地数据源(不适用于远程数据源,因为在调用事件之前通常不会填写菜单)。
我是否遗漏了什么或者这些场景在 jquery ui 自动完成中根本不支持??
【问题讨论】:
标签: jquery jquery-ui autocomplete