Ticket #5831 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

checkbox setValue needs to accept boolean

Reported by: doughays Owned by: doughays
Priority: highest Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc:

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

Changed 3 months ago by doughays

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.