#8173 closed defect (fixed)
Textarea: duplicate ID's in DOM after templating
Reported by: | dante | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit - Form | Version: | 1.2.1 |
Keywords: | Cc: | Adam Peller | |
Blocked By: | Blocking: |
Description
The template for Textarea always creates duplicate id's. in the Firefox case, a fieldset and div have identical id's, and in the IE case it seems a textarea/span combination is used. I assume this is for <label for=""> nodes, but id's are unique, and should be treated as such.
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Cc: | Adam Peller added |
---|
comment:3 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
I suspect this is a workaround to an IE bug where you have to specify id on form fields in addition to the name attribute, in order to make submit work properly. Doug?
For TextBox though I know that the <input> gets id=foo and the domNode gets id=widget_foo, or something like that.