Project

General

Profile

Actions

Bug #97786

closed

Wrong button hidden in nested inline relations

Added by Nikita Hovratov almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2022-06-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Setup

- Having an inline field, which itself references an inline field.
- The parent inline field has the following TCA options:
- minitems => 1
- maxitems => 1
- appearance.levelLinksPosition => 'bottom'
- The child inline field doesn't need any special TCA

Example TCA: https://github.com/TYPO3/styleguide/pull/330/files

Steps to reproduce:

- Create a new record
- Click on the new record button to create a new parent inline field record.

Expected

The button of the parent inline field is hidden, as adding one new record the maxitems value (1) is reached.

Actual

The button of the inline child is hidden instead:


Files

nested-inline-button.png (9.88 KB) nested-inline-button.png Nikita Hovratov, 2022-06-17 17:10

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #92382: levelLinksPosition=bottom is not working correctly especially with minitems=1 set and leads to misbehaviour in inline children Closed2020-09-23

Actions
Related to TYPO3 Core - Bug #98233: Regression: After deleting image in record "add" button is not displayed againClosed2022-08-31

Actions
Actions

Also available in: Atom PDF