Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#5831 closed defect (fixed)

checkbox setValue needs to accept boolean

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: blocker Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:


for dijit.form.CheckBox?,
setValue(boolean) should set the checked attribute to the provided parameter,
setValue(string) should set checked=true and set the value attribute to the provided parameter,
getValue() should return the string value attribute if checked==true and false if checked==false.

Change History (2)

comment:1 Changed 14 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [12387]) Fixes #5831. Added getValue/setValue to CheckBox?. Fixed Form.html unit test.

comment:2 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.