The thing about ComboBox
is that its value is not required to be an entry in the drop-down menu (and thus, not guaranteed to be one either). Think of it as a textbox with autosuggest - users can use the menu to expedite the process, but the value of the textbox is freeform and is reported as whatever the user types into it.
If you want users to be required to choose an entry from the menu, you should be using FilteringSelect
instead, which will report the associated store item's ID (or associated option
tag's value
) as its value. As opposed to the free-form nature of ComboBox
, FilteringSelect
can be thought of as a menu with type-ahead functionality.