Bug #82481
closedTCA type "inline" with min items marks all fields as required
100%
Description
In TCA If minitems for type inline is set greater than 1 all fields of the added records will be marked as required until minitems is reached. This is irritating because now every field is marked as required including checkboxes like hide.
To reproduce this just use type inline, set minitems greater than 1, create a new record and add a single record for inline.
Files
Updated by Riccardo De Contardi over 6 years ago
- Category set to FormEngine aka TCEforms
Updated by Georg Ringer about 4 years ago
- Has duplicate Bug #89275: IRRE fields marked as error, even when they are not required added
Updated by Henrik Ziegenhain about 1 year ago
- File bad-ux-2.png bad-ux-2.png added
- File bad-ux-1.png bad-ux-1.png added
Confirmed - still valid for v12
There is a similar issue in #94886
Any ideas how to fix this?
I am sorry, but I cannot provide a patch but testing and input here.
The mandatory fields are marked by this CSS selector
.form-group.has-error label:before
To prevent child records from false mandatory marking, the css could be adjusted to only fit for direct children with this workaround
.form-group.has-error > label:before
Updated by Gerrit Code Review 12 months ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78944
Updated by Gerrit Code Review 12 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78902
Updated by Nikita Hovratov 12 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 50eabd383b76a6c34bc604a40f796a9af4290169.
Updated by Gerrit Code Review 12 months ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78966
Updated by Nikita Hovratov 12 months ago
- Status changed from Under Review to Resolved
Applied in changeset b8a41f11a8b19db7b8a44a285872615bf01882eb.