Login Register

dijit.form.ComboBox

ComboBox autocomplete bug?

I think the ComboBox autocomplete doesn't like New Jersey. =)
Dojo version: dojo-release-1.1.1-src
Client: IE 6 win XP (SP2)

I am using code copied from the Dojo book example for the dijit.form.ComboBox (the one with ItemFileReadDataStore):
http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-s...
...with a few minute changes (see below).
I click inside the text input box, and delete the default value with backspace.

different ways to provide options to dijit.form.ComboBox

Hi,

I would like to know different approaches that can be used to provide options to dijit.form.ComboBox.
I know one way that is,

var options = new dojo.data.ItemFileWriteStore({data: {identifier: 'name', items:[]}});
options.newItem({name: 'foo'});
options.newItem({name: 'bar'});

Any help will be aprreciated.

Syndicate content