Directory

Autocomplete Extension - Vaadin Add-on Directory

Autocomplete extension for TextField in Vaadin 8 Autocomplete Extension - Vaadin Add-on Directory
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.
Source Code
Online Demo
Issue Tracker

Autocomplete Extension version 0.1.1
null

Autocomplete Extension version 0.1.2
Fixed a bug that resulted in a client side exception when removing the text field component.

Autocomplete Extension version 0.1.3
Fire value change event right after a suggestion item is selected. Listen for these events with `textField.addValueChangeListener(...)`

Autocomplete Extension version 0.1.4
New API feature: `setSuggestionListSize(int)` for changing the maximum number of suggestions

Autocomplete Extension version 0.2.1
- Introduced suggestion select listener - Improved Valo-like styling - Refactored class paths, files moved under autocomplete subpackage - Rearranged dom elements and introduced wrapper around both text field and suggestion list

Autocomplete Extension version 0.2.2
Added API to programmatically trigger showing and hiding suggestion list

Autocomplete Extension version 0.2.3
- Updated to newest Vaadin version - Included sources and javadoc

Autocomplete Extension version 0.2.4
- Allows suggestions for empty field - Fixes width of full size field when extension applied