Project

General

Profile

Actions

Bug #86829

open

The errorClass doesn't work for non formObject fields

Added by Bill Dagou about 6 years ago. Updated about 1 year ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2018-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The code is something like below.

<f:form action="update" object="{object}" objectName="object">
    <f:form.textfield class="form-control" name="other[field]" errorClass="is-invalid" />
</f:form>

When I set the validation like NotEmpty for $other.field, and submit the form keeping the field empty, the class is-invalid is never added.

Actions

Also available in: Atom PDF