Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#3848 closed defect (fixed)

TextArea: newlines not preserved

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

Description (last modified by bill)

On test_InlineEditBox.html if you edit the TextArea? and enter a bunch of text separated by newlines when you save everything is munged onto one line. This happens even when renderAsHtml=false.

Since the "true" value is the value inside the textbox and it's just being displayed without the textbox border, I guess we need a filter to convert newlines to <br>? Or display inside a <pre> tag?

Change History (5)

comment:1 Changed 12 years ago by bill

Description: modified (diff)

comment:2 Changed 12 years ago by bill

Summary: TextArea: newlines not preserved on IETextArea: newlines not preserved

comment:3 Changed 12 years ago by bill

Description: modified (diff)

comment:4 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9854]) With renderAsHtml set to false, InlineEditBox? preserves newlines in TextAreas?. Fixes #3848.

Patch from Mark Hays (IBM, CCLA on file)

comment:5 Changed 8 years ago by bill

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