#91839IRRE add relation button not working
Description
Given:
Some TCA adding a new IRRE field to any table:
'translations' => [
'exclude' => 1,
'l10n_mode' => 'exclude',
'label' => 'Translations',
'config' => [
'type' => 'inline',
'foreign_table' => 'pages_translations',
'foreign_field' => 'parentid',
'foreign_sortby' => 'parentsort',
'foreign_table_field' => 'parenttable',
'foreign_selector' => 'language',
'foreign_unique' => 'language',
'foreign_label' => 'language',
'maxitems' => 9999,
'appearance' => [
'collapseAll' => 1,
'expandSingle' => 1,
'newRecordLinkAddTitle' => 1,
'newRecordLinkPosition' => 'top',
'useCombination' => 0,
'useSortable' => 0,
'showPossibleLocalizationRecords' => 0,
'showRemovedLocalizationRecords' => 0,
'showAllLocalizationLink' => 0,
'showSynchronizationLink' => 0,
'enabledControls' => 'delete',
],
'behaviour' => [
'localizationMode' => 'keep',
'localizeChildrenAtParentLocalization' => 0,
'disableMovingChildrenWithParent' => 1,
],
],
],
Expectation:
The user should be able to add the first entry from the selectbox by click on the “add new relation” button
Current:
The button doesn’t do anything.