#13942 closed defect (fixed)
dojox.mobile.CheckBox "value" attribute not set
Reported by: | Philippe May | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.7.0b1 |
Keywords: | 1.7-mobile | Cc: | Douglas Hays, Atsushi Ono |
Blocked By: | Blocking: |
Description
For example: in dojox/mobile/tests/test_FormControls.html
: dijit.byId('cbox').get('value')
returns always "on".
Attachments (1)
Change History (4)
Changed 9 years ago by
Attachment: | CheckBox.js.diff added |
---|
comment:1 Changed 9 years ago by
Cc: | Douglas Hays Atsushi Ono added |
---|---|
Keywords: | 1.7-mobile added |
Status: | new → assigned |
comment:3 Changed 9 years ago by
Thanks for reporting this and proposing a patch, aprilmay. dijit.form.CheckBox already has _getValueAttr function, which returns the checkbox value ("on" if the value is not specified) if checked, and false if not checked, so the fix above added the same function to dojox.mobile.CheckBox.
Note: See
TracTickets for help on using
tickets.
Proposed patch