https://github.com/apache/wicket/blob/31f3acb0d01af7be11a85c8e611c420180f77924/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java#L97

replace #startsWith() with #contains()

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, May 19, 2015 at 5:32 PM, Chris <[email protected]> wrote:

> Hi all,
>
> can the auto complete text field also be used in that way that it
> autocompletes words in the middle, too?
> Such as „minster“ for „Westminster Abbey“? In the example below only
> autocompletion for comparison of text start is demonstrated.
>
> http://www.wicket-library.com/wicket-examples-6.0.x/ajax/autocomplete?1 <
> http://www.wicket-library.com/wicket-examples-6.0.x/ajax/autocomplete?1>
>
> Thanks, Chris

Reply via email to