Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

ComboBox - adding new item

Michael Kokho
1 decade ago Apr 17, 2010 9:18pm

Hello guys!

I'm trying to suit a combobox to my needs, and here are what i want to ask:

-- is it possible to add a new item just in a client's browser? I want to allow users add new items, but only when they submit a form. Because now if I write a new string to the combobox it will disappear after losing focus.
I implemented a NewItemHandler but there is no way to correct misspellings - new items is just added at the end of the list.

-- i set off FilteringMode, but when i'm writing in the combobox a list of strings opens. Is it suppose to be like this?

Thank you!