Autocomplete
Text input with a panel of suggested options
Usage
Autocomplete is a text input with a panel of suggested options. When user change value of text input, panel with found options will be shown, so user can select one of the suggested options. Once user selected his option, it appears in text input.
Client-side implementation
This is the server-side (Java) API for Vaadin Platform for the vcf-autocomplete component. Looking for the client-side version? It can be found here: https://vaadin.com/directory/component/vaadin-component-factoryvcf-autocomplete
Sponsored development
Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing
Sample code
H3 inputH3 = new H3("Current input: "); H3 selectionH3 = new H3("Selection: "); Autocomplete autocomplete = new Autocomplete(5); autocomplete.addChangeListener(event -> { String text = event.getValue(); autocomplete.setOptions(findOptions(text)); inputH3.setText("Current input: " + text); }); autocomplete.addAutocompleteValueAppliedListener(event -> { selectionH3.setText("Selection: " + event.getValue()); }); autocomplete.addValueClearListener(event -> { selectionH3.setText("Selection: " + ""); }); autocomplete.setLabel("Find what you want:"); autocomplete.setPlaceholder("search ...");
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Add support for Prefix and Suffix component to the input text field
- Released
- 2024-01-05
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 24+
- Vaadin 23 in 23.0.0
- Vaadin 14 in 2.3.3
- Vaadin 13 in 1.2.0
- Vaadin 12 in 1.2.0
- Vaadin 11 in 1.2.0
- Vaadin 10 in 1.2.0
- Browser
- N/A
GoFullScreen - Vaadin Add-on Directory
Button that will toggle client fullscreen modeSource Code
Issue Tracker
Author Homepage
GoFullScreen version 0.1.0
null
GoFullScreen version 0.1.1
Adds server side fullscreen state change events to 0.1.0 version (thanks Sven for feedback!)
GoFullScreen version 0.2.0
Now uses higher level client side element when fullscreen target is not provided. This will allow you to have popups, subwindows etc. at your fullscreen view. Before UI was used as default target, and this did not allow you to have popups and UI visible at same time.
GoFullScreen version 0.3.0
Adds support for IE11 and Safari (not iOS)
GoFullScreen version 0.4.0
- FullScreenChangeListener extends now Serializable (Google App Engine issue)
- Adds FullScreenNativeButton
GoFullScreen version 0.4.1
Keyboard input now allowed in Chrome's fullscreen mode.
GoFullScreen version 0.5.3
Changes since 0.4.1:
- OSGi bundled
- Listener API cleanup (API break)
- Moved to use SCSS theming (add-on currently do not include any theming rules, so no actions required)
GoFullScreen version 0.6.0
0.6.0+ requires and supports Vaadin 8.
If you want to use add-on on Vaadin 7, please select 0.5.x versions.
GoFullScreen version 0.6.1
Add support for MenuBar