unselect in ComboBox

If you need to unselect value in the ComboBox control, setting the

selectedIndex = -1

is not enough, you have to set

prompt = "something"

, otherwise it selects the first element. Despite

selectedIndex = -1

. Weird…

Leave a Reply