Question
Issue with Multifield Container Reordering in AEM Universal Editor
- August 27, 2025
- 3 replies
- 367 views
I’m running into an issue with the multifield container in AEM Universal Editor. When I try to reorder items, instead of simply moving them, a duplicate entry is created.
To reproduce:
I have three tabs defined (tab1, tab2, tab3).
When I drag tab3 to the second position, the result is: tab1, tab3, tab2, tab3.
So the tab I moved is duplicated: the original one moves to the target position, and a second one is created at the end.
This is my container model configuration:
const model: ComponentModel = {
id: componentId,
fields: [
{
component: "select",
name: "tabVariant",
label: "Tab variant",
valueType: "string",
options: [
...
],
},
{
component: "container",
name: "tabSettings",
label: "Tab Settings",
valueType: "string",
collapsible: false,
multi: true,
fields: [
{
component: "text",
name: "tabLabel",
label: "Tab Label",
valueType: "string",
},
{
component: "boolean",
name: "tabDisabled",
label: "Tab Disabled",
valueType: "boolean",
},
],
},
],
};
I also attached a screenshot of the nodes in CRXDE for reference.
Is this a bug in Universal Editor, or am I missing something in my configuration?