#15558 closed defect (fixed)
dijit.form.Select inside dojox.layout.ContentPane appears empty until clicked
Reported by: | talisto | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8 |
Component: | DojoX Layout | Version: | 1.8.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
when a dijit.form.Select widget is wrapped in a dojox.layout.ContentPane?, the select box appears "empty" (no options) until it is clicked, and then the first/selected option is displayed.
The select widget works fine outside the contentPane, so I'm unsure which widget this is an issue with.
Attached is a simple test-case to illustrate the issue. This is only an issue with 1.8.0b1, not 1.7.3.
Attachments (1)
Change History (8)
Changed 9 years ago by
Attachment: | select.html added |
---|
comment:1 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|
comment:2 Changed 9 years ago by
Looks like a possible problem with dojox ContentPane? as Select startup is not being called since the ContentPane? getChildren is returning nothing, probably related to onLoadDeferred processing.
comment:3 Changed 9 years ago by
Component: | Dijit - Form → Dijit |
---|---|
Owner: | changed from Douglas Hays to bill |
Status: | new → assigned |
comment:4 Changed 9 years ago by
Component: | Dijit → DojoX Layout |
---|
Doug traced this down to an ordering problem, that dojox.layout.ContentPane is calling startup() on it's children before the parser runs. Obviously the parser should run first; otherwise there won't be any children.
I consider the bug to be in dojox.layout.ContentPane, although fixing it requires code changes across all three projects.
started with [28344]