Selecting a value from 1 combobox, to no present in another.

Hello people of Vaadin>
Can you help me with this? I have two combobox and I want that when you choose the first combobox selected value to not appear in the second combobox.

Please Help.!!

P.s I already got the combobox fill.

Add a ValueChangeListener to your first ComboBox. When a value is selected, either

  1. Apply a
    filter
    to the second ComboBox that “hides” the selected value
  2. remove the selected value from the second ComboBox (I do not recommend this approach, if you need to reinstate the values)

Yeah I did it just now, was basically the same idea i realize. Thanks for the replay @Kim Leppänen