flow-components icon indicating copy to clipboard operation
flow-components copied to clipboard

Add ItemEnabledProvider to enable/disable items

Open simasch opened this issue 5 years ago • 4 comments

Description

ComboBox and Select are similar components but ComboBox has no possibility to disable items. Select has a method setItemEnabledProvider that should also be available in ComboBox.

simasch avatar May 27 '20 13:05 simasch

Depends on https://github.com/vaadin/vaadin-combo-box/issues/443

web-padawan avatar Jun 02 '20 11:06 web-padawan

Hello, I saw there's a workaround using JavaScript/TypeScript in https://github.com/vaadin/web-components/issues/1373. Is there a workaround using the Java API instead? I wasn't able to find a way to access the combobox items directly, the way you can by customizing the renderer in JavaScript. Thanks!

eberleant avatar Jun 23 '23 16:06 eberleant

Any updates? I'd also like a Java Api to disabled items like on the Select.

diversit avatar Nov 22 '23 10:11 diversit

This would be a very useful feature.

oliveryasuna avatar Dec 14 '24 14:12 oliveryasuna