Opened 12 years ago

Closed 8 years ago

#6934 closed defect (duplicate)

Form: getValues() doesn't work on elements in TooltipDialog

Reported by: guest Owned by: Douglas Hays
Priority: low Milestone: 2.0
Component: Dijit - Form Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

The getValues() method of dijit.form.Form ignores form elements that are enclosed in a dijit.TooltipDialog contained within the form.

<form dojoType="dijit.form.Form" id="form">
<input type="text" name="test1" dojoType="dijit.form.TextBox" />
<div dojoType="dijit.TooltipDialog" title="test">
<input type="checkbox" dojoType="dijit.form.Checkbox" name="test2" />
</div>
</form>

dijit.byId('form').getValues() will return the content of test1, but will ignore test2.

Change History (4)

comment:1 Changed 12 years ago by bill

Description: modified (diff)
Milestone: 2.0
Priority: highlow
severity: majornormal
Summary: dijit.form.Form getValues() doesn't work on elements in TooltipForm: getValues() doesn't work on elements in Tooltip

That's true, we don't support TooltipDialog or Dialog inside of Form. The reason is that TooltipDialog's dom node is moved to document.body.

comment:2 Changed 12 years ago by bill

Summary: Form: getValues() doesn't work on elements in TooltipForm: getValues() doesn't work on elements in TooltipDialog

comment:3 Changed 9 years ago by bill

Component: DijitDijit - Form
Owner: set to Douglas Hays

comment:4 Changed 8 years ago by bill

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Oh, I shouldn't have reassigned this, it's just the general issue with our popup elements, closing as dup of #3300.

Note: See TracTickets for help on using tickets.