#8674 closed defect (fixed)
dijit.form.Textarea not inserting value attribute
Reported by: | coldfire22x | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit - Form | Version: | 1.3.0b1 |
Keywords: | Textarea value | Cc: | |
Blocked By: | Blocking: |
Description
When passing the value parameter on object creation, the value never finds its way into the textarea.
Attachments (1)
Change History (7)
Changed 12 years ago by
Attachment: | textarea.txt added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
And lastly, that the following does render the textarea correctly:
textarea.attr("value", "Testing 1-2-3");
So it would seem that the problem is only with the object instantiation.
comment:3 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Oh I see, it's overwriting the value specified in a constructor like
new dijit.form.Textarea({value: ...}, srcNodeRef);
with the value specified in the srcNodeRef (if one is specified)... even if srcNodeRef is empty and this.value isn't.
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
I should add that it does appear to work in IE6 but not FF3.0.6 (Windows XP).