Hillel
(Hillel Arki)
1
I’d like to display a list of already registered names.
And, If a name is not set have the possibility to add it.
See image here:
http://imgur.com/a/3WClU
Found no way to achieve this
Also, it would be useful if we had the ability to add subtext to each row to provide extra info like an ID or an address
Tobias17
(Tobias Demuth)
2
Hillel
(Hillel Arki)
3
Not really, in the case of names duplicate names can happen
So I may already have a John Smith but want to add another one which wouldn’t be possible with this combo box as of yet
Tobias17
(Tobias Demuth)
4
Duplicates are possible if you use the right ContainerDataSource and a NewItemHandler. See this example: https://dev.vaadin.com/svn/doc/book-examples/branches/vaadin-7/src/com/vaadin/book/examples/component/ComboBoxExample.java (method
newItemHandler())
Hillel
(Hillel Arki)
5
I’m using the web component though
Tobias17
(Tobias Demuth)
6
Mh, not so obvious when you are posting in “Framework” but actually using an “Element” …
Hillel
(Hillel Arki)
7
Well that’s either a moderator error or a nasty bug in your system. As the screenshot clearly shows I posted it in the elements sections…
Tobias17
(Tobias Demuth)
8
Well it is not “my” system, I am just a user. But would be a nasty bug indeed.
Hillel
(Hillel Arki)
9
Thanks anyway. Guess fiddling with the sources by myself will be easier