I was stunned to find my new application with 52 comboboxes all editable by default. My customers went ballistic when they saw that. Why aren't comboboxes non-editable? I looked everywhere for the last 4 hours and couldn't find anything related to non-editable comboboxes. Am I going to have to write my own custom combobox for that? The reason why I use comboboxes is that I pull the data from valid value tables, which means only the data from the table is valid - adding new values at runtime is unacceptable. I guess I could catch the event as they type and produce some error but I have to do it for all 52 components.
Am I missing something here? Does anyone know of a way to make comboboxes non-editable?
I found a solution and that is go back to using the mx version. I guess the spark version is meant for whiz-bang comboboxes and not real world applications (at least not for representing valid values derived from tables). Maybe if I get around to it I might create a custom spark version that let's me add something like editable=false to the tag. Not sure why it wasn't added in the first place.
And as soon as I wrote that reply I found DropDownList:-) Hopefully, this will help others who are used to Java Swing and think one combobox is equal to another. DropDownList is what I needed to use.