Opened 7 years ago
Closed 5 years ago
#18182 closed defect (patchwelcome)
Including SpinWheelDatePicker inside a dojox/simpledialog widget gives error:"Unable to get value of the property 'getMonth': object is null or undefined.
Reported by: | frank123 | Owned by: | Patrick Ruzand |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | DojoX Mobile | Version: | 1.10.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I am getting an error while including SpinWheelDatePicker? widget inside a SimpleDialog? widget. Error: "Unable to get value of the property 'getMonth': object is null or undefined. Enviroment: Dojo Version: 1.9.3 and 1.10.1 Browser : Chrome 36
Attachments (1)
Change History (5)
Changed 7 years ago by
Attachment: | dojo_bug_18182.html added |
---|
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Component: | General → DojoX Mobile |
---|---|
Owner: | set to Patrick Ruzand |
comment:3 Changed 6 years ago by
Same problem for simpleDialog, instead of Opener. With dojo 1.10.3, mac10.10.1, chrome.
comment:4 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!
Note: See
TracTickets for help on using
tickets.
I was able to reproduce this by simply placing the SpinWheelDatePicker? within a div with display: none, see attached test case.
Did a little digging and it seems like the reason it fails is because SpinWheelSlot?._getValueAttr uses the position of its child elements to determine what value is selected, and it can not do this when they are not visible.