#11442 closed defect (fixed)
MappedTextBox form widgets don't escape quotation marks inside name attribute
Reported by: | enlar | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Dijit - Form | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
I just updated an app from 1.3 to dojo 1.4.3 and noticed a strange behaviour in dijit.form.NumberTextBox.
If the original HTML is as follows:
<input class="cantidad" type="text" dojoType="dijit.form.NumberTextBox" id="cantidad_2_0" name="lineas['2_0'][cantidad]" value="">
Dojo 1.4.3 outputs the following hidden field:
<input type="hidden" ][cantidad]="" 2_0="" name="lineas[" value="">
But dojo 1.3 did output something that I expected more:
<input type="text" style="display: none;" name="lineas['2_0'][cantidad]">
Is this a bug or a know feature in dojo 1.4? Dojo 1.4.3 output breaks the app, as it is changing the form field name.
Thanks a lot.
Change History (6)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.6 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Summary: | Strange dijit.form.NumberTextBox behaviour → MappedTextBox form widgets don't escape quotation marks inside name attribute |
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
comment:7 Changed 9 years ago by
Milestone: | 1.6 → 1.8 |
---|
Note: See
TracTickets for help on using
tickets.
Good catch, thought I had fixed this in [21865] (#10970), but the issue still existed for widgets that extend MappedTextBox, like NumberTextBox.