Add-on Directory

← Back

Multiple Select

An extended version of Vaadin Select supporting multiple-items selection.

Author

Rating

Popularity

100+

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:

<dependency>
    <groupId>com.vaadin.componentfactory</groupId>
    <artifactId>multiple-select</artifactId>
    <version>${component.version}</version>
</dependency>

Usage

The component is intended to be used in the same way as Vaadin Select. For example,

MultipleSelect<String> labelSelect = new MultipleSelect<>();
labelSelect.setItems("Option one", "Option two");
labelSelect.setLabel("Label");

MultipleSelect<String> placeholderSelect = new MultipleSelect<>();
placeholderSelect.setItems("Option one", "Option two");
placeholderSelect.setPlaceholder("Placeholder");

MultipleSelect<String> valueSelect = new MultipleSelect<>();
valueSelect.setItems("Value", "Option one", "Option two");
valueSelect.setValue("Value");

add(labelSelect, placeholderSelect, valueSelect);

Limitations

The component is not working with Vaadin 14 in compatiblity mode.

Sample code


MultipleSelect<String> multipleSelect = new MultipleSelect<>();
multipleSelect.setItems("Jose", "Manolo", "Pedro");

multipleSelect.addSelectionListener(e -> System.out.println(e.getAllSelectedItems()));
MultipleSelect<String> multipleSelect = new MultipleSelect<>("Jose", "Manolo", "Pedro", "Luis");
multipleSelect.select("Jose", "Manolo", "Pedro", "Luis");
multipleSelect.setDisplayAllSelected(true);

Compatibility

(Loading compatibility data...)

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

Change to vaadin-core dependency

Released
2020-12-03
Maturity
STABLE
License
Apache License 2.0

Compatibility

Framework
Vaadin 18
Vaadin 17 in 2.2.1
Vaadin 14 in 1.1.1
Browser
N/A

Vaadin TouchKit - Vaadin Add-on Directory

Build touch-enabled applications for iOS and Android mobile devices using Vaadin Vaadin TouchKit - Vaadin Add-on Directory
Vaadin TouchKit development has been DISCONTINUED. Read more details [from the blog post](https://vaadin.com/blog/-/blogs/touchkit-is-dead-long-live-touchkit). TouchKit is a collection of UI components bundled with a theme that helps developers build great looking mobile applications for iPad and mobile phones. You can build applications that resemble native apps. TouchKit will enable touchscreen interactions and NavigationManager adds animations to your screen transitions. No knowledge of mobile devices needed, the programming model is the same as for other Vaadin applications. TouchKit works with iPhone/iPad (iOS 5+) and Android (v2.3+) devices. TouchKit 4 also adds Windows Phone 8 support. This add-on is available under two licenses: AGPL and CVAL. If your project is compatible with AGPL, you can use the add-on for free; otherwise you must acquire a sufficient number of CVAL licenses before the 30-day trial period ends. For more info, click the license links in the summary above. The 3.x and 4.x series versions are compatible with Vaadin 7, 2.X series with Vaadin 6.
Features and Benefits
Issue Tracker
Online Demo
Parking demo sources
Documentation
License Installation Instructions
Author Homepage
Source Code
Discussion Forum

Vaadin TouchKit version 2.1.5
Fix to cache manifest linking with deep theme file structures and improved packaging. See full list of changes from http://dev.vaadin.com/query?status=closed&group=resolution&milestone=TouchKit+2.1.5

Vaadin TouchKit version 3.0.2
Improves offline use, in particular with Cordova/PhoneGap on Android, see http://dev.vaadin.com/ticket/13250

Vaadin TouchKit version 4.1.0
Vaadin TouchKit has been updated to work with latest client-server reconnect handling included in Vaadin Framework. Due to the nature of this changes Vaadin TouchKit 4.1 is only compatible with Vaadin Framework 7.6 or posterior. Use TouchKit 4.0.x or earlier if you use Vaadin 7.5 or earlier.

Vaadin TouchKit version 4.2.1
### Version 4.2.1 - Added support for service worker, local storage aka PWA when using newer Chrome / Android versions

Vaadin TouchKit version 4.2.2
### Version 4.2.2 - Fix AppCache issue with Firefox

Vaadin TouchKit version 4.2.3
### Version 4.2.3 - Fix potential NPE and another exception that can happen in production mode

Vaadin TouchKit version 4.2.4
### Version 4.2.4 - Fixed Vaadin 7.7.28 compatibility due new Jsoup version

Vaadin TouchKit version 4.2.5
### Version 4.2.5 - Fix compatibility with Safari on iOS 16 - Application cache manifest is deprecated

Vaadin TouchKit version 4.2.6
### Version 4.2.6 - Fix issue with duplicate icon in date picker

Online