Opened 8 years ago

Closed 8 years ago

#13520 closed defect (fixed)

CheckBox not usable as buttonWidget in StackController

Reported by: dbertram Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Dijit - Form Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

dijit.form.CheckBox and by extension dijit.form.RadioButton are not usable as the buttonWidget in a dijit.layout.StackController without modification. Doing so triggers an error during startup when the iconClass property is set. The reason seems to be that in contrast to Button, CheckBox does not have an attach point "iconNode". It is possible to work around this issue by declaring a new buttonWidget that inherits CheckBox? and has an iconNode attach point in its template.

Change History (1)

comment:1 Changed 8 years ago by bill

Description: modified (diff)
Milestone: tbd1.7
Resolution: fixed
Status: newclosed

Presumably already fixed by [24818], the change to CheckBox.js:

// Override behavior from Button, since we don't have an iconNode
_setIconClassAttr: null,
Note: See TracTickets for help on using tickets.