Sandrew
(Sandrew Cheru)
September 29, 2018, 2:18pm
1
Hi,
I have an application where most entities can have tags/tokens. In the old version of the application, the Swing UI presented these tags with a JList. Is there an equivalent of the Swing JList in Vaadin 11 ?
Ideally, I would like to achieve something like this: https://vaadin.com/directory/component/advancedtokenfield-add-on but this addon is not compatible with Vaadin 11. So I would happily settle for any component able to display a subset of a known list.
++
S
Jouni1
(Jouni Koivuviita)
October 1, 2018, 11:34am
2
Vaadin Combo Box is planned to get multi-select support eventually, which could end up being the component you need.
There’s a prototype implementation which you can try, if you’re not afraid of doing the client-server integration yourself: https://github.com/vaadin/vaadin-combo-box/issues/88#issuecomment-385338778
Jouni1
(Jouni Koivuviita)
October 1, 2018, 11:37am
3
Actually, I forgot a community member packaged that propotype into a reusable component: https://www.webcomponents.org/element/selvinfehric/multi-select-combo-box
That should be much easier to package to be usable with Flow, using Webjars.
Sandrew
(Sandrew Cheru)
October 4, 2018, 12:06pm
4
Hi Jouni
Thanks for taking the time to answer my question. Unfortunately, I have 0 experience in components integration.
To be on the safe side, I have decided to use Vaadin 8 instead since this version has all the addons I need.