Opened 14 years ago
Closed 13 years ago
#2756 closed bug (invalid)
Autocomplete plugin:
Reported by: | coreycoto | Owned by: | joern |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | plugin | Version: | 1.2.3 |
Keywords: | autocomplete | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
Users unable from inputting items not in the autocomplete selection list.
Fix proposed by Gustavo Picón (tabo) on Jörn's blog (http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/) successfully corrects this issue.
Code:
// matches also semicolon case options.multiple && $.trim(options.multipleSeparator) == "," && KEY.COMMA: //FIX: Allows user to input item not in selection if (!options.mustMatch) { break; } case KEY.TAB: case KEY.RETURN: if( selectCurrent() ){
Change History (5)
comment:2 Changed 14 years ago by
Useage example:
Selection list contains: Boston Bottom Box
User enters: "Bar"
Once the user enters a comma, the first item in the selection list is picked.
comment:3 Changed 14 years ago by
Owner: | set to joern |
---|
comment:4 Changed 14 years ago by
Component: | core → plugin |
---|---|
Description: | modified (diff) |
Dup of #2757?
comment:5 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The autocomplete plugin is now developed under the jQuery UI umbrella. Reopen a ticket there (http://dev.jqueryui.com/) or participate on the planning wiki (http://wiki.jqueryui.com/Autocomplete) if appropiate.