Skip to content

Commit

Permalink
add some flag that allows to block users selecting an option while a …
Browse files Browse the repository at this point in the history
…query is in process
  • Loading branch information
reiern70 committed Oct 13, 2022
1 parent ab68ff3 commit e0a9ac7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public abstract class AutoCompleteTextField<T extends Serializable> extends Text
private List<T> choices;


/**
* Setting this flag to true adds some extra protection at client side
* preventing users to be able to select stale elements.
*/
private boolean preventSelectWhileQueryIsRunning = false;

private AutoCompleteBehavior autoCompleteBehavior;
Expand Down

0 comments on commit e0a9ac7

Please sign in to comment.