Opened 7 years ago

Last modified 7 years ago

#16555 closed defect

Select:   in store can break order of items — at Version 1

Reported by: Bob Tarling Owned by: Douglas Hays
Priority: undecided Milestone: tbd
Component: Dijit - Form Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

In order to work around #9973 I have am using   instead of a blank option when populating a Select control.

This works fine in all browsers I have tested (IE8, IE9, FireFox and Chrome).

However when using an ItemFileReadStore this works for all browser except Chrome. On Chrome the order in which the options are defined in the json structure is not adhered to.

I considered adding this as a note to #9973. If that defect is fixed there will be no issue for me as I can remove nbsp. However the root cause of this defect may surface in other ways and you may wish to investigate this separately.

Change History (3)

Changed 7 years ago by Bob Tarling

Attachment: simplepicklist.html added

Example HTML shows working Select and failing select with store

Changed 7 years ago by Bob Tarling

Attachment: countriesblank.json added

json file to loaded by example HTML

comment:1 Changed 7 years ago by bill

Component: DijitDijit - Form
Description: modified (diff)
Owner: changed from bill to Douglas Hays
Summary: Select control -   in store can break order of itemsSelect:   in store can break order of items

So on Chrome, the first example in simplepicklist.html works, but the second has a weird order of choices?

Note: See TracTickets for help on using tickets.