I'm trying to extend the DropDownList control so that it also has a TextInput which eliminates un-matching elements from the dataProvider using the filter function.
How should I do this? With a new skin? Extend the DDL control and override some methods - which? Other options?
The main problem I had with the ComboBox is that I don't want to allow "creation" of new elements, so if the typed text doesn't match any element, instead of selectedIndex of -3 it should just keep the old selection. Plus a few other things.
Thinking about it, this is probably my best choice, and if I were to extend a class it should probably be this one.
I don't understand. Delete what? The typed text?
Also, it won't create a new element unless I tell it to add it to the dataProvider, I just want a the behaviour of a filter input rather than just input.