Commit 323eb7a8 authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[BUGFIX] Ensure IRRE record selectors show up with maxitems set

When an IRRE field in FormEngine has maxitems set,
and an item gets removed (thus, allowing an inline element
to be added again), the buttons to create new elements
are shown again.

This fixes a regression introduced with #91595.

Resolves: #93091
Resolves: #93238
Related: #91595
Releases: master, 10.4
Change-Id: If4c8152ab6e4fc1388fbfcf1af72fa2609f6df16

Tested-by: default avatarTYPO3com <>
Tested-by: default avatarJörn Wagner <>
Tested-by: Georg Ringer's avatarGeorg Ringer <>
Reviewed-by: default avatarJörn Wagner <>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <>
parent 798801f6
......@@ -794,7 +794,7 @@ class InlineControlContainer {
private toggleContainerControls(visible: boolean): void {
const controlContainer = this.container.querySelector(Selectors.controlContainer);
const controlContainerButtons = controlContainer.querySelectorAll('a');
const controlContainerButtons = controlContainer.querySelectorAll('button, a');
controlContainerButtons.forEach((button: HTMLElement): void => { = visible ? null : 'none';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment