dijit.form.ComboBox Unit Test

#

Option tags, autoComplete=false, selectOnClick=true, default value of California, pageSize=30, custom labelFunc method

US State test 1 (200% Courier font):
onChange:
value:
blur:
this.item:

Data store, autoComplete=true:

US State test 2 (8pt font):
onChange:

Artificially slowed-down data store, autoComplete=true:

US State test slow:
onChange:

Dijit List test #1 (150% font): Hey look, this one is kind of useful.

Initially disabled, url, autoComplete=false:

US State test 3:
onChange:

Data store, autoComplete=false required=true and highlightMatch="none"

US State test 4:
onChange:

test that title used as label is preserved on input

No arrow, data store which searches and highlights matches anywhere in the string

Arrowless:

Created programmatically

progCombo:

Created programmatically with an initial query. (Limits list to items with type = country.)

progCombo2

Created programmatically with an ItemFileReadStore and a descending sort. (Limits list to items with type = country.)

progCombo3:

With option tags, autoComplete=true, pageSize=30, and a descending sort.

descending:

Special characters

The drop down list should be:

- sticks & stones
- rags --> riches to
- more\less
- 3 * 5

Special chars:

Japanese

Try typing 東区 (East), 西区 (West), 北区 (North), 南区 (South) and a few choices will pop up.
Using the Microsoft IME for Japanese (Hiragana), 東 can be inputed by typing higashi followed by SPACE.

Japanese list:

Custom labelFunc (labels in lowercase), autoComplete=true, prompt message when field is blank:

custom label function

Rich text label

Rich text labels in drop down:

test placeholder

This is some text below the boxes. It shouldn't get pushed out of the way when search results get returned. A native select tag to test IE bleed through problem:

Destroy test:
Highlight test
ignoreCase:
highlightMatch:
queryExpr:
Highlight test:

User-defined subclass of ComboBox/FilteringSelect:

autoComplete=true

autoComplete=false

type=url