Changes between Initial Version and Version 1 of Ticket #11442


Ignore:
Timestamp:
Jul 15, 2010, 12:27:12 PM (11 years ago)
Author:
Adam Peller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11442 – Description

    initial v1  
    1 I just updated an app from 1.3 to dojo 1.4.3 and noticed a strange behaviour in dijit.form.NumberTextBox.
     1I just updated an app from 1.3 to dojo 1.4.3 and noticed a strange behaviour in dijit.form.!NumberTextBox.
    22
    33If the original HTML is as follows:
     4{{{
    45<input class="cantidad" type="text" dojoType="dijit.form.NumberTextBox"
    56id="cantidad_2_0" name="lineas['2_0'][cantidad]" value="">
     7}}}
    68
    79Dojo 1.4.3 outputs the following hidden field:
     10{{{
    811<input type="hidden" ][cantidad]="" 2_0="" name="lineas[" value="">
     12}}}
    913
    1014But dojo 1.3 did output something that I expected more:
     15{{{
    1116<input type="text" style="display: none;"
    1217name="lineas['2_0'][cantidad]">
     18}}}
    1319
    1420Is 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.