https://github.com/vaadin-component-factory/autoselectcombobox
ComboBox with autoselect and validation
https://github.com/vaadin-component-factory/autoselectcombobox
addon combobox-component vaadin
Last synced: 3 months ago
JSON representation
ComboBox with autoselect and validation
- Host: GitHub
- URL: https://github.com/vaadin-component-factory/autoselectcombobox
- Owner: vaadin-component-factory
- License: apache-2.0
- Created: 2022-03-28T08:49:36.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T11:49:33.000Z (about 1 year ago)
- Last Synced: 2025-01-10T00:36:37.391Z (4 months ago)
- Topics: addon, combobox-component, vaadin
- Language: Java
- Homepage:
- Size: 169 KB
- Stars: 0
- Watchers: 8
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
## Development instructions
Build the project and install the add-on locally:
```
mvn clean install
```
mvn jetty:runThis deploys demo at http://localhost:8080
## Description
The AutoSelect Combobox component extends from Combobox
If there is only one match while typing a custom value in combobox, it selects the matched value in blur when either the user hit ENTER or leave focus from the field (clicking any other area outside of combobox).
The default behaviour of combobox is that when leaving the focus, it clears the value however with AutoSelectComboBox the value stay as it is and it can show a custom error massage if there is no exactly one match with the input.
## How to use it
Create a new component AutoSelectComboBox and use it like a Combobox.
## Missing features or bugs
You can report any issue or missing feature on github: https://github.com/vaadin-component-factory/autoselect-combobox