Opened 8 years ago

Closed 8 years ago

#14451 closed defect (fixed)

dijit.form.Checkbox does not work with mvc

Reported by: Stefan Meyer Owned by: Ed Chatelain
Priority: high Milestone: 1.8
Component: DojoX MVC Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

the checkboxes attribute bound to the model should be "checked" not "value".

Change History (2)

comment:1 Changed 8 years ago by Ed Chatelain

Yes we are currently working on an enhancement to add multiple-attribute support for mvc, it will handle this as well as label etc.

comment:2 Changed 8 years ago by Ed Chatelain

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

Support was added with ticket #14681 for multiple attributes, so now you can bind to "checked". Like this:

<input data-dojo-type="dijit.form.CheckBox?" checked data-dojo-props="checked: dojox.mvc.at(boldItemModel, 'checked')">

Note: See TracTickets for help on using tickets.