#77178TCA type='text' with 'readOnly'=true renders newlines as <br /> tags
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-text.png
TCA with readOnly TRUE
'comment' => [
'exclude' => 0,
'label' => 'Coment',
'config' => [
'type' => 'text',
'readOnly' => true
],
]
renders like this:
tca-text-readonly.png
In case #32412 is implemented, this may lead to funny results on save of form with readOnly textares.
TYPO3 7.6.9
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.