Opened 13 years ago

Last modified 10 years ago

#6934 closed defect

Form: getValues() doesn't work on elements in Tooltip — at Version 1

Reported by: guest Owned by:
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" />

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

Change History (1)

comment:1 Changed 13 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.

Note: See TracTickets for help on using tickets.