Project

General

Profile

Actions

Bug #82481

closed

TCA type "inline" with min items marks all fields as required

Added by Markus Kugler over 6 years ago. Updated 12 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-09-14
Due date:
% Done:

100%

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

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

example.png (21.8 KB) example.png Markus Kugler, 2017-09-14 10:31
bad-ux-2.png (21.4 KB) bad-ux-2.png Henrik Ziegenhain, 2023-04-06 07:00
bad-ux-1.png (38.3 KB) bad-ux-1.png Henrik Ziegenhain, 2023-04-06 07:00

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #89275: IRRE fields marked as error, even when they are not requiredClosed2019-09-25

Actions
Actions #1

Updated by Riccardo De Contardi over 6 years ago

  • Category set to FormEngine aka TCEforms
Actions #2

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Accepted
Actions #3

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

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
Actions #5

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

Actions #6

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

Actions #7

Updated by Nikita Hovratov 12 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

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

Actions #9

Updated by Nikita Hovratov 12 months ago

  • Status changed from Under Review to Resolved
Actions

Also available in: Atom PDF