Skip to content

Commit

Permalink
fix #864 AbstractSelect selectByKey calling deselect
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Oct 27, 2023
1 parent 83a44a4 commit 0eccbd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected void doSetValue(String value) {
* Retrieves the value of the base text box. If the value is empty and is set to be treated as
* null, this method will return null.
*
* <p>{@inheritDoc}
* <p>
*
* @return the current value of the base text box or null if the value is empty and treated as
* null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ public C selectAt(int index) {
* @return an instance of the concrete class.
*/
public C selectAt(int index, boolean silent) {
findOptionByIndex(index).ifPresent(o -> onOptionDeselected(o, silent));
findOptionByIndex(index).ifPresent(o -> onOptionSelected(o, silent));
return (C) this;
}

Expand Down

0 comments on commit 0eccbd1

Please sign in to comment.