The issue occurs when I'm adding extra drop-down in the dialog fieldset.
/apps/MySite/components/HelloWorld/dialog.overlay.infinity.json - showing as an array instead of JSON
The problem appears because the snippet variable is not an object but an array.
This type of response is not handled by the widget.js and getting failed at below condition.
if (snippet.xtype.indexOf("dialog") != -1 || snippet.xtype.indexOf("wizard") != -1) {
dialogConfig = snippet;
}
Could anyone share your insights on this??