Project

General

Profile

Actions

Bug #73498

closed

Fluid textarea newline lost on update

Added by ondro no-lastname-given almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-02-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
fluid, textarea, linebreaks loose
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi

I have fluid form with textarea field

<f:form.textarea property="description">

Creating/Updating works fine. By storing description textarea with new lines (page breaks/entering) it's render correctly (with line breaks) in p (paragraph) but in textarea line breaks are ignored.

I try following

<f:form.textarea property="description" value="{object.description -> f:format.raw()}">

or
<f:form.textarea property="description" value="{object.description -> f:format.nl2br()}">

but with no effect

Do you have any idea where could be the problem?

Actions

Also available in: Atom PDF