jQuery UI Widgets › Forums › Lists › ComboBox › restrict jqxComboBox selection to list choices only
Tagged: #combobox, DropDownList
This topic contains 6 replies, has 6 voices, and was last updated by defyent 4 years, 9 months ago.
-
Author
-
Hi,
I need a (sortof) ComboBox where you do have a text input field for filtering down the list, but where the user can only choose one of the items in the list. The text that is typed into the inpu field should be rejected as input, if it is not one of the choices in the list (eg. when closing the list). The filtering feature is important to me because I ahve to deal with LOOONG list of choices (100 and more) where the user can quickly find the entry he is looking for by tping a few letters.
So yes, I did look at jqxDropDownList, but it totally lacks the text input field for filtering on a susbtring that the user can enter. I guess my requriement is a jqxDropDownList but with an added text input control for filtering dropdown list content. So jqxComboBox fullfills al of that, including the filetring on substring, but has no mode for restricting the user so that only list choices are accepted as valid input.
SIDENOTE: there is a 3rd party control called “select2” which does exactly what I want. Sadly I con not really combine this with jQWidgets because it does not support compatibility with jQWidgets theming. I’m mentioning it here for 2 reasons:
1) It does support and thus demonstrate what I mean by restricting the user to list choices only, just have a look at the basic example at the top of the ‘select2’ page.
2) Just as a suggestion for future feature development: it allows multiple selection in a wonderfully implemented way that I very much would love to see on the jqxComboBox: multiple selections are shown as tags with a little ‘x’ next to them where clicking the x removed them from the multiple slection.
Regards,
StephanHi,
The requested functionality is not supported. We will consider how to address the missing functionality for the next major release.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Any update on this.
I still don’t see an option for force select with filter. Please update me if I am missing this in the API.Thanks
DineshAll changes in our widgets are documented on the Release Notes page.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comIs there any update on this one since the last one posted almost 3 years ago?
You’d think they would update their API documentation instead of just documenting it in their release notes and then telling you to read the release notes.
In any event, try this property:
selectionMode: “dropDownList”
Would love this feature as well but I don’t see it in any docs.
-
AuthorPosts
You must be logged in to reply to this topic.