Disable ComboBox Item...?
i have this strange requirement, i must to disable a item of the ComboBox if the item was already selected... is there any way of accomplish this?
selecting the item twice should cause no harm as long as you don't have custom event listeners for the select event.
That said, you could probably achieve a custom class for that selected item by a custom template.
ok, thanks i will look in that direction.
Sencha - Community Support Team
I would return false in the beforeselect event if the selected value is the same as the current value.