Issue Bug Closed

#97786Wrong button hidden in nested inline relations

Nikita Hovratov 06/17/22, 17:17 updated 10/04/22, 14:05

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:

nested-inline-button.png

Reviews 4