Opened 12 years ago

Closed 12 years ago

Last modified 8 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:

Description

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 12 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 8 years ago by bill

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