https://github.com/vaadin-component-factory/multiple-select
An extended version of Vaadin Select supporting multiple-items selection
https://github.com/vaadin-component-factory/multiple-select
Last synced: 3 months ago
JSON representation
An extended version of Vaadin Select supporting multiple-items selection
- Host: GitHub
- URL: https://github.com/vaadin-component-factory/multiple-select
- Owner: vaadin-component-factory
- License: other
- Created: 2020-11-18T11:56:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T10:35:24.000Z (over 3 years ago)
- Last Synced: 2025-01-10T00:36:32.279Z (4 months ago)
- Language: Java
- Size: 583 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multiple Select
This component is an extended version of Vaadin Select supporting multiple-items selection. It is the Vaadin 14 Java integration of @vaadin-component-factory/vcf-multi-select.
## Install
To use the component in an application using maven, add the following dependency to your pom.xml:
```
com.vaadin.componentfactory
multiple-select
${component.version}```
## Usage
The component is intended to be used in the same way as Vaadin Select. For example,
```
MultipleSelect labelSelect = new MultipleSelect<>();
labelSelect.setItems("Option one", "Option two");
labelSelect.setLabel("Label");MultipleSelect placeholderSelect = new MultipleSelect<>();
placeholderSelect.setItems("Option one", "Option two");
placeholderSelect.setPlaceholder("Placeholder");MultipleSelect valueSelect = new MultipleSelect<>();
valueSelect.setItems("Value", "Option one", "Option two");
valueSelect.setValue("Value");add(labelSelect, placeholderSelect, valueSelect);
```## Licnese
Apache License 2