AEM React SPA Container Component Not Showing Dialog Fields in Model.json
In our AEM React SPA project, we're facing an issue where the dialog fields are not appearing in the model.json when fetching data for a container component. Despite the dialog being configured properly, the model doesn't expose the fields as expected.

model.json
"container": {
"columnClassNames": {
"promobanner": "aem-GridColumn aem-GridColumn--default--12"
},
"gridClassNames": "aem-Grid aem-Grid--12 aem-Grid--default--12",
"columnCount": 12,
"allowedComponents": {
"components": [],
"applicable": false
},
":items": {
"promobanner": {
"fileReference": "/content/dam/mysiteLogo.jpeg",
"altText": "mysite",
"title": "Mysite",
"subtitle": "test",
"description": "test",
"buttonLink": "#",
"buttonLabel": "test",
"cardBgColour": "#7EO20C",
"cardTextColour": "#ECE3D6",
":type": "mysite/components/promobanner"
}
},
":itemsOrder": [
"promobanner"
],
":type": "mysite/components/container"
},
I also tried using delegation (@Self with @2434638(type = ResourceSuperType.class)) in the Sling Model
@Self
@Via(type = ResourceSuperType.class)
@Delegate(types = Container.class, excludes = Excluded.class)
private Container container;
but that approach didn't resolve the issue.
Has anyone encountered a similar issue or knows of any specific configurations that might be causing this behavior?




