CMS Made Simple Forums
https://forum.cmsmadesimple.org/

FEU Change Settings Form textarea ignores new line
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=77613
Page 1 of 1

Author:  webform [ Fri Nov 17, 2017 7:37 pm ]
Post subject:  FEU Change Settings Form textarea ignores new line

If an user has entered data in a FEU textarea with line breaks and return later to edit, the content in the textarea is now without any line breaks.

User entered in textarea:
Code:
A line of text
Another line of text

When he go to the "FrontEndUsers Change Settings Form" the text entered in the textarea is now:
Code:
A line of text Another line of text

But in FrontEndUsers admin, the textarea show the entered data with line breaks. So it's only the "FrontEndUsers Change Settings Form" where newline in textarea not behaving correctly.

I've tried to output
Code:
<pre>{$field->value|print_r}</pre>
and the field has no newline in the textarea (only in admin).

Could this be a bug or am i missing something?
Code:
Cms Version: 2.2.3.1
FrontEndUsers: 2.7.1
CGExtensions: 1.57.1

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/