Friday, August 11th, 2006
One of the joys of Ajax is watching a bunch of competing toolkits once again implement the same old widgets we’ve been using since the nineties. On this subject, Kenneth Ko writes:
The main problem I see with the dojo ComboBox control is that it is
NOT a true ComboBox. It is an AutoCompleter. A ComboBox should really
exhibit these behaviours:
* When typing in the textbox, a comboBox should MOVE to the item, not
filter the search results.
* You should be able to select any item in the list using only the
mouse (e.g. selecting “Wyoming”).
* In a ComboBox, you should be able to select an item which doesn’t
match what you type. For example, you should be able to type “H”
(which selects “Hawaii”) then press down to select “Idaho”.
* Have the ability to page through large result sets.
Kenneth was kind enough to modify Dojo’s comboboxy-autocompleter widget to become closer to the one true combobox metaphor we’ve come to know and love:
My favorite is the WinXP down-arrow widget combined with the OS X scrollbar when viewed on my Mac. ;-)
Posted by Ben Galbraith at 11:32 am