Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#7029 closed defect (fixed)

dijit.form.Form: getValues and validate should not include disabled widgets

Reported by: nathan Owned by: nathan
Priority: high Milestone: 1.2
Component: Dijit - Form Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

Disabled widgets are not included in the submit data - and to be consistent, should not be included when calling getValues() on the form's sub-widgets. The form's validate() function should also not be called on disabled widgets - providing a way to, in effect, "remove" them from the form - (but possibly allow them to be re-enabled at a later point).

Widgets marked as "readOnly" should still be included in getValues and validate calls on the form.

Change History (2)

comment:1 Changed 11 years ago by nathan

Resolution: fixed
Status: newclosed

fixed in [14108]

comment:2 Changed 8 years ago by bill

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