I ran into this problem also.
The combo box always restores the previously selected value.
It isn't so much restoring the value as the user is reselecting it after he deletes the value. I.e: with forceSelection: true
the combobox insists on dropping down its menu, this means that when a user goes back into the combobox to delete an item, the combobox menu drops down with the item which was originally selected highlighted, the user then deletes the value in the combobox and tabs to the next one, the combobox looks to see what item is highlighted in the drop down list and fills it in to the field, voila, reselected.
Instead, if the user deletes the value, then presses the ESC key to close the combo drop down menu and then tabs to the next one the value will not fill itself in.
I suppose this is a feature to enable keyboard only control so that you don't have to click to drop down the menu.
Fortunately, I didn't take long for my users to understand this and make use of the ESC key. I also added the preventMark: true
config to handle the error message when this occurred.
I suppose if you really can't have this, you could add a listener to the change
or even the validitychange
event that checks if the field is now empty and then collapses the menu if it is. This should prevent it from reselecting when moving to another field the same way closing it with the ESC key does.