You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a MaterialComboBox and invoke setAcceptableValues the combo box will show the values correctly. However the value will always be null. I tracked it down to the getSelectedIndex() is always returning -1.
If I use addItem(String, T) the combo box works correctly and returns the correct index for the value.
A quick look shows a divergence in how the Option is added with addItem(T value) and addItem(String text, T value).
The text was updated successfully, but these errors were encountered:
When I create a MaterialComboBox and invoke setAcceptableValues the combo
box will show the values correctly. However the value will always be null.
I tracked it down to the getSelectedIndex() is always returning -1.
If I use addItem(String, T) the combo box works correctly and returns the
correct index for the value.
A quick look shows a divergence in how the Option is added with addItem(T
value) and addItem(String text, T value).
When I create a MaterialComboBox and invoke setAcceptableValues the combo box will show the values correctly. However the value will always be null. I tracked it down to the getSelectedIndex() is always returning -1.
If I use addItem(String, T) the combo box works correctly and returns the correct index for the value.
A quick look shows a divergence in how the Option is added with addItem(T value) and addItem(String text, T value).
The text was updated successfully, but these errors were encountered: