Autocomplete extension for TextField in Vaadin 8
Autocomplete extension for TextField in Vaadin 8.
This extension adds autocomplete capability to the TextField component. Suggestions appear below the text field according to the user query and can be selected using the keyboard or mouse.
Suggestions can be any HTML making it possible to create complex visual representation such as icons, bold text etc.
Any Java object can represent a suggestion item and converters provide a caption (to be displayed on the UI) and value (to add to the text field) for each. This way it is possible to reuse the existing data that comes from the database.
NOTE: In order for the extension to work, the application's widget set needs to be rebuilt with the Vaadin plugin or with Maven.