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
Describe the bug
selectByKey is actually deselecting
To Reproduce
see AbstractSelect.java line 596. selectAt and selectByValue both call onOptionSelected, selectByKey calls onOptionDeselected
Expected behavior
select the object
public C selectAt(int index) {
findOptionByIndex(index).ifPresent(this::onOptionSelected);
return (C) this;
}
public C selectByKey(String key) {
findOptionByKey(key).ifPresent(this::onOptionDeselected);
return (C) this;
}
public C selectByValue(T value) {
findOptionByValue(value).ifPresent(this::onOptionSelected);
return (C) this;
}
The text was updated successfully, but these errors were encountered:
Describe the bug
selectByKey is actually deselecting
To Reproduce
see AbstractSelect.java line 596. selectAt and selectByValue both call onOptionSelected, selectByKey calls onOptionDeselected
Expected behavior
select the object
The text was updated successfully, but these errors were encountered: