Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#4443 closed defect (invalid)

dijit.form.Textarea is not parsed if placed into innerHTML of another element

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

If I run the attachment, the div should contain a working parsed dijit.form.Textarea, or at least it works this way for dijit._editor.RichText? so I assume it isn't a completely outdated method.

Attachments (2)

test_Textarea.html (897 bytes) - added by guest 12 years ago.
example of where parsing does not work
test_Textarea.2.html (889 bytes) - added by guest 12 years ago.
example of where parsing works

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by guest

Attachment: test_Textarea.html added

example of where parsing does not work

comment:1 Changed 12 years ago by guest

Note: A workaround which is possibly no different is to use span's instead of textarea's and then the parsing happens. If it isn't too much hassle it would be nice to have the textarea versions parsed though.

Changed 12 years ago by guest

Attachment: test_Textarea.2.html added

example of where parsing works

comment:2 Changed 12 years ago by bill

Resolution: invalid
Status: newclosed

Parsing happens on load, and then you are adding a new element after the parsing finishes. This isn't supposed to work. You can call the parser manually on the new element.

comment:3 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.