Skip to content

Commit 0eccbd1

Browse files
committed
fix #864 AbstractSelect selectByKey calling deselect
1 parent 83a44a4 commit 0eccbd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

domino-ui/src/main/java/org/dominokit/domino/ui/forms/BaseTextBox.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected void doSetValue(String value) {
9797
* Retrieves the value of the base text box. If the value is empty and is set to be treated as
9898
* null, this method will return null.
9999
*
100-
* <p>{@inheritDoc}
100+
* <p>
101101
*
102102
* @return the current value of the base text box or null if the value is empty and treated as
103103
* null

domino-ui/src/main/java/org/dominokit/domino/ui/forms/suggest/AbstractSelect.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ public C selectAt(int index) {
743743
* @return an instance of the concrete class.
744744
*/
745745
public C selectAt(int index, boolean silent) {
746-
findOptionByIndex(index).ifPresent(o -> onOptionDeselected(o, silent));
746+
findOptionByIndex(index).ifPresent(o -> onOptionSelected(o, silent));
747747
return (C) this;
748748
}
749749

0 commit comments

Comments
 (0)