maxschuster / Vaadin-AutocompleteTextField

A Vaadin TextField with autocomplete (aka word completion) functionality
https://vaadin.maxschuster.eu/AutocompleteTextField/
Apache License 2.0
9 stars 6 forks source link

How can I configure the minimal length of the query? #30

Closed dk2k closed 4 years ago

dk2k commented 4 years ago

I can see, that suggestions get requested when the length reaches value 3. However, I can't find this value in the sources. Are there any means to change this value? Any information can help. Even if there is no public API, I probably still can use Reflection. If there are no means to configure it, can you please compose this enhancement? Important, I still use version 1.0-alpha-4 :)

maxschuster commented 4 years ago

Did you try AutocompleteTextField.setMinChars(int) ?

dk2k commented 4 years ago

Thanks!