PDA

View Full Version : [OPEN-EXTJSIV-413] ComboBox.getValue() does not return value of the field



sidamos77
27 Mar 2011, 11:48 PM
ComboBox.getValue() does return the selected value of the ComboBox, but not the currently typed in value, if the value is not available as choice.

mdavis6890
28 Mar 2011, 6:09 AM
I don't think it should, should it?

If it's not available as a choice, the field shouldn't allow you to set that as a value.

sidamos77
28 Mar 2011, 6:26 AM
If you create a ComboBox in ExtJs 3, you would bind it to an input field. And with this combination, it was possible to have a value in the field, that is not in the choices.

For example, if you use a ComboBox for a live search, the field would be the search string and the choices would be the results.