Multiple selections in a drop down / combo box

Any kind of demo for latest release?

Yes the demo at https://multiselect-combo-box.herokuapp.com/ is also updated.

Sourcecode for demo is on [Github]
(https://github.com/watho/vaadin-multiselect-combo-box/tree/master/VaadinMultiselectComboBoxDemo)

Thomas Wagner:
Yes the demo at https://multiselect-combo-box.herokuapp.com/ is also updated.

Sourcecode for demo is on [Github]
(https://github.com/watho/vaadin-multiselect-combo-box/tree/master/VaadinMultiselectComboBoxDemo)

I set a List of Pojo items.But it shows like class(id =?, name:?,Role = ?,…). How can i set Only the name? And how can i bind this for list ? @Thomas Wagner

Kamrul Hasan:

Thomas Wagner:
Yes the demo at https://multiselect-combo-box.herokuapp.com/ is also updated.

Sourcecode for demo is on [Github]
(https://github.com/watho/vaadin-multiselect-combo-box/tree/master/VaadinMultiselectComboBoxDemo)

I set a List of Pojo items.But it shows like class(id =?, name:?,Role = ?,…). How can i set Only the name? And how can i bind this for list ? @Thomas Wagner

Have a look at the demo code. The UserComboBox in the example and demo code is exactly the answer to your first question. You can set an [ItemLabelGenerator]
(https://vaadin.com/api/platform/12.0.7/com/vaadin/flow/component/ItemLabelGenerator.html) to control the shown labels. For your case it might be something like new MultiselectComboBox<>(user -> user.getName());

I don’t understand the second question. The setItems()-Method works with lists.

Thomas Wagner:

Kamrul Hasan:

Thomas Wagner:
Yes the demo at https://multiselect-combo-box.herokuapp.com/ is also updated.

Sourcecode for demo is on [Github]
(https://github.com/watho/vaadin-multiselect-combo-box/tree/master/VaadinMultiselectComboBoxDemo)

I set a List of Pojo items.But it shows like class(id =?, name:?,Role = ?,…). How can i set Only the name? And how can i bind this for list ? @Thomas Wagner

Have a look at the demo code. The UserComboBox in the example and demo code is exactly the answer to your first question. You can set an [ItemLabelGenerator]
(https://vaadin.com/api/platform/12.0.7/com/vaadin/flow/component/ItemLabelGenerator.html) to control the shown labels. For your case it might be something like new MultiselectComboBox<>(user -> user.getName());

I don’t understand the second question. The setItems()-Method works with lists.

How can i bind it for a grid?

As of current date, what is the Vaadin-native way for multiselecting stuff? ListBox?

Nicklas Karlsson:
As of current date, what is the Vaadin-native way for multiselecting stuff? ListBox?

Vaadin still don’t have any (other than using Grid directly in multi-select mode).
However, I am using this add-on that is really good.
[Multiselect Combo]
(https://vaadin.com/directory/component/multiselect-combo-box)