-
Disable ComboBox Item...?
Disable ComboBox Item...?
Hello,
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?
thanks!
-
Sencha - Community Support Team
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.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us