Actions
Bug #77178
closedTCA type='text' with 'readOnly'=true renders newlines as <br /> tags
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-07-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hi,
As outlined in a title, the problem is with readOnly
state of textareas in TCA.
TCA without readOnly
'comment' => [ 'exclude' => 0, 'label' => 'Coment', 'config' => [ 'type' => 'text', ], ]
renders such a picture:
TCA with readOnly
TRUE
'comment' => [ 'exclude' => 0, 'label' => 'Coment', 'config' => [ 'type' => 'text', 'readOnly' => true ], ]
renders like this:
In case #32412 is implemented, this may lead to funny results on save of form with readOnly textares.
TYPO3 7.6.9
Files
Actions