I have a combobox with the following configs:
How to make combobox revert when user input does not match items in store?
queryMode: 'remote',
forceSelection: true,
editable: true,
autoSelect: true
the following configs are data bound:
store,
value,
selection,
emptyText
if the user types a value into the field that does not match something in the store and loses focus, the box clears. I would like for the box to revert to the last valid selection in this case. Is there a config I am not setting or anything I can do to make the box display the last valid selection?
How to make combobox revert when user input does not match items in store?
Aucun commentaire:
Enregistrer un commentaire