Combo box feature

Hi all,

I have certain list of items which i show in a selectBox. But this list has around 30-35 items so i want an incremental search to be implemented on it.
To serve this purpose i tried using comboBox which work absolutely fine but it has new problem - now user can enter random values in the comboBox. And i dont want user to do that.

I want to implement incremental search on the list of items and also want to restrict the user to select the desired option from the given valueMap.

Do we have any property in comboBox such that if i dont select the value from the given valueMap, the control will not be lost from the comboBox.

Thanks in advance.

We need this exact feature also. Perhaps it’s in 7.0 :slight_smile:

Pete

Hi guys,

If this is a save interaction, you can do this with a validator that will prevent an invalid value from actually being saved.

Other than that, what did you have it mind? It’s not really possible to disallow keystrokes that aren’t found in the dataset if the dataset is not yet loaded..

That’s a good point. Got me wondering what ListGridField.filterOnKeyPress does when the ListGrid is bound to a paged datasource…

It waits a configurable delay after your last keystroke, so essentially it fetches when you pause.

Note also that, although if we had all the data loaded in advance we could prevent entering letters that don’t match any completions, this could be really poor from a usability perspective. eg imagine if you don’t know the set of legal values, you are trying to enter the very first letter and you are being prevented from doing so.