Editable combobox problem

Glenn VC

New member
Joined
Nov 3, 2010
Messages
2
Programming Experience
3-5
Hi,

I have a problem with a combobox with displaystyle= dropdown.

I want to use it so the user can select from the list or type in a value. Everything works fine except when I select an item and after that want to clear the selected item (delete the text in the inputbox), for example if I don't want to select anything at all or if I want to type in a value not in the list.

Has anyone any idea of what I am doing wrong?

The items in the combobox are filled from a list of objects that is used as datasource. It also contains databinding to an object.
 
I know... but then I have to force this with keydown or keyup events? Isn't this a bit "stupid". I mean, you have the possibility to type in a random text but once you have selected an item you can't change it to a text of your own or you can't even blank out the selection.
 
Back
Top