strido commented on code in PR #1041:
URL: https://github.com/apache/wicket/pull/1041#discussion_r1853310527
##########
wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/AutoCompleteSettings.java:
##########
@@ -379,4 +381,30 @@ public AutoCompleteSettings setMinInputLength(int
minInputLength)
this.minInputLength = minInputLength;
return this;
}
+
+ /**
+ * Indicates how the Tab key should be handled when having an item in
the autocomplete list
+ * selected.
+ *
+ * @return <code>true</code> if the focus should return to the input
field, <code>false</code>
+ * moves the focus to the next component.
+ */
+ public boolean shouldFocusInputOnTabSelection()
Review Comment:
I like the idea!
I will try look into it during the day.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]