Open pbugnion opened 6 years ago
The model used in a dropdown is the SelectionModel, used for other things as well. If we support disabled items in the dropdown, it probably makes sense to support them in the other widgets based on the SelectionModel as well.
This would be useful to add separators in a dropdown list like:
Taken from this StackOverflow answer.
When I create a select in HTML, I can disable certain attributes:
At the moment, as far as I can tell, that's not possible with the
Dropdown
widget. Is this something that would be worth including?If so, happy to take a look at this, unless someone else gets there first.