Opened 9 years ago
Closed 9 years ago
#14346 closed defect (fixed)
dijit.form.TextBox with name=length cannot be created under IE
Reported by: | Alexander Kläser | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Dijit | Version: | 1.6.1 |
Keywords: | Internet explorer, IE, IE8, input, name, length | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
If a TextBox element is create programmatically with IE8, an error is thrown as the TextBox' focusNode property is not set. This is related to IE's behavior that the name "length" will override the original length field of its parent. Hence dijit._Templated._attachTemplateNodes() will fail. The attached patch fixes this problem.
See also:
Attachments (1)
Change History (4)
Changed 9 years ago by
Attachment: | fix_dijit_Templated.patch added |
---|
comment:1 Changed 9 years ago by
Replying to alexklaeser:
If a TextBox? element is create programmatically with IE8, ...
new dijit.form.TextBox({name:"length"});
comment:2 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Milestone: | → 1.8 |
Owner: | set to bill |
Status: | new → assigned |
Wow, that's a weird one. I do reproduce that exception, even on IE8, it gives a "'tagName' is null or not an object"
error. I'll check in your suggested fix.
fix for dijit._Templated