ComboBox SelectedItem issue

Hello,

I have a ComboBox with some items and a button with which the user can delete a selected Item. When the user deletes an item I update the comboBox items but the previous selected item( which has been deleted ) keeps showing…

The comboBox1 image shows the initial situation and the comboBox2 image shows the situattion that I do not want to have.

Is someone who knows how to solve this?

42008.png
42009.png

Could your issue be actually this one:
https://github.com/vaadin/framework/issues/10641
?

Hi Lund,

Yes I have exactly the same problem. In my code I did the same, I updated the item list in ComboBox and then I did a .clean() and this does not work. But I tried first to use the .clean() method and then update the item list and it works. So temporary for my situation in which I use the comboBox I am ok.

Is the Vaadin team going to fix this bug on the next releases?

thanks