Ticket #6420 (new defect)

Opened 3 months ago

Last modified 3 months ago

Form: getValues() ignores radio sets with no radio selected

Reported by: awhite@… Owned by: bill
Priority: low Milestone: 1.3
Component: Dijit Version: 1.1.0
Severity: minor Keywords: getValues() Form Radio dijit.form.Radio dijit.form.Form
Cc:

Description

If a dijit.form.Form contains a set of radios but none are selected getValues() does not list the radio set. getValues() should have an entry with the name of the radio set and a value of false or null.

On a related note, make sure setValues() with a radio value of null/false unselects all the radios.

Change History

Changed 3 months ago by bill

  • cc awhite@… removed
  • owner set to bill
  • summary changed from dijit.form.Form.getValues() ignores radio sets with no radio selected to Form: getValues() ignores radio sets with no radio selected
  • reporter changed from guest to awhite@calpoly.edu
  • milestone changed from 1.1.1 to 1.3

Yup, this sounds like a bug.

Note: See TracTickets for help on using tickets.