I have a ComboBox? myComboBox
hooked up to a custom Store. If I type a partial name, it is autocompleted. If I then hit Enter, with the focus still on the input box, I do get an onChange event, but myComboBox.item
is null. Hitting enter does not actually select the item who's label is in the input field.
If, rather than hitting Enter from the input field, use Arrow Down to select the best match, and then hit Enter, the item *is* selected, and I can reference it via myComboBox.item
.
I cannot find any notes on this, but I'd argue that an onChange event should have been preceeded by a select, such that the item
can be referenced. Or, if onChange should just refer to the actual text in the input field, there should be an onSelect
event.
This is with ComboBox? r15947.
In a similar manner, TABing from the input field does not select an item either.