Changes between Initial Version and Version 2 of Ticket #8272


Ignore:
Timestamp:
Dec 12, 2008, 12:07:34 AM (11 years ago)
Author:
bill
Comment:

It's not clobbered, it's that you haven't specified it in the parameters. You specified it in the markup but markup is only relevant when you are using the parser.

This should work:

    var valTB = new dijit.form.ValidationTextBox({
       name: 'foo',
       ...
    },'someTb');
})

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8272

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
  • Ticket #8272 – Description

    initial v2  
    1 For form widgets like diji.form.TextBox the name attribute seems to get clobbered even when the template suggests that ${name} should be token-replaced.  The cause appears to be that _FormWidget declares a 'name' property with a default value of "".  However, the original dom element is never inspected for a specified name attribute.  This may also be the case for other attributes which have specified defaults in _FormWidget like 'alt' and 'tabIndex'.
     1For form widgets like diji.form!.TextBox the name attribute seems to get clobbered even when the template suggests that ${name} should be token-replaced.  The cause appears to be that _FormWidget declares a 'name' property with a default value of "".  However, the original dom element is never inspected for a specified name attribute.  This may also be the case for other attributes which have specified defaults in _FormWidget like 'alt' and 'tabIndex'.
    22
    33