Hello,
I'm trying to customize some properties of the ComboBox autochild of a MultiComboBoxItem.
The issue is that apparently the default ComboBox autochild is heavily customized inside the MultiComboBoxItem, and simply setting a new comboBoxItem as will reset all those properties.
Getting the default properties instead of creating a new instance also does not work:
The result is that the default MultiComboBoxItem looks like this:
But if we set the combobox properties it loses its styling and defaults:
Is there a way to only set some properties, or inherit the defaults?
Thanks
I'm trying to customize some properties of the ComboBox autochild of a MultiComboBoxItem.
Code:
MultiComboBoxItem item = new MultiComboBoxItem(); ComboBoxItem props = new ComboBoxItem(); props.setUseClientFiltering(false); props.setHint(null); item.setComboBoxProperties(props);
Getting the default properties instead of creating a new instance also does not work:
Code:
MultiComboBoxItem item = item.getComboBoxDefaults();
But if we set the combobox properties it loses its styling and defaults:
Is there a way to only set some properties, or inherit the defaults?
Thanks
Comment