#98648Inspector-TextareaEditor fails to validate
Description
I have a custom form finisher with a textarea field as required option in the form editor. If I save the form without a value, the validation does not behave like when using a simple input.
The onChange handler does not trigger the error message like shown under the input field.
fields.PNG
When saving the form, the finisher does not get a red border. Instead a generic error is shown.
save.PNG
I think, the error is somewhere in the backend JS.
My expectation is, that a textarea field behaves the same way like an input with Inspector-TextEditor template.
Here is my simplified setup.
TYPO3:
CMS:
Form:
prototypes:
standard:
formElementsDefinition:
Form:
formEditor:
editors:
900:
selectOptions:
190:
value: MyFinisher
label: MyFinisher
propertyCollections:
finishers:
190:
identifier: MyFinisher
editors:
100:
identifier: header
templateName: Inspector-CollectionElementHeaderEditor
label: MyFinisher
110:
identifier: myInput
templateName: Inspector-TextEditor
label: MyInputLabel
propertyPath: options.myInput
propertyValidators:
10: NotEmpty
120:
identifier: myTextArea
templateName: Inspector-TextareaEditor
label: MyTextareaLabel
propertyPath: options.myTextArea
propertyValidators:
10: NotEmpty
finishersDefinition:
MyFinisher:
formEditor:
iconIdentifier: form-finisher
label: MyFinisher
predefinedDefaults:
options:
myInput: ''
myTextArea: ''
Tested with TYPO3 11.5.17 and Browsers Firefox and Edge.
Reviews 2
Files 2
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 90208 status
NewUnder Review 07/31/25, 13:50 -
Gerrit Code Review pushed patch set 2 for main to change 90208 07/31/25, 15:06
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 90314 08/11/25, 10:33
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % 08/11/25, 10:45 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:33
Applied in changeset commit:2a948f03d6107de62b54e6cd8010ddebf4f56e76.