Unable to create "container" type of custom widget


I want to create a modal widget and i saw 7.8 beta version modal container. Then i wanted to create similar modal use before 7.8 arrives. But when i create widget with container type, i cant open any of my forms or pages or create new form/page. It gives me Init error.

This is detailed error,

TypeError: Cannot read property 'init' of undefined
at f (page-builder-1542893896847.min.js:20)
at Array.map (<anonymous>)
at u (page-builder-1542893896847.min.js:20)
at vendors-1542893896847.min.js:150
at n.$eval (vendors-1542893896847.min.js:164)
at n.$digest (vendors-1542893896847.min.js:161)
at n.$apply (vendors-1542893896847.min.js:164)
at h (vendors-1542893896847.min.js:118)
at K (vendors-1542893896847.min.js:122)
at XMLHttpRequest.z.onload (vendors-1542893896847.min.js:124)


windows 10

External Link





Pierrick Voulet
November 26, 2018, 7:05 PM

Hello - custom container widget development is not supported on 7.7. The right way to use modal on 7.7 is to follow the method described in the documentation.

As you said, the modal container will be released as part of the 7.8 version that will be globally available in a few days.

I do close this issue because it is not a bug but feel free to comment if necessary.


Mehmet Sakir KUTLU
November 26, 2018, 7:29 PM

I know it's not released yet but my report not for 7.8 version. I am currently using 7.7.2 version and for that version if i would want to create custom widget with container type ui designer gives error when i want to open forms/pages. The bug part is ui designer cant open forms/pages when custom container type widget created. The thing is i built latest ui designer (1.9.1 ) and i created empty widget as container type it still same, gives error. Isn't that allowed for users to create container type custom widget? If it isn't in that case it is not bug, but if it is then there is a ui designer bug.

Pierrick Voulet
November 26, 2018, 7:36 PM

The creation of custom widget with container type is not supported on 7.7 (and not on 7.8 either as far as I know). What will come on 7.8 is the modal container only, not the creation of custom widget with container type.

Thanks for your comment but I confirm it is not a bug. You will need to use the documented method I provided for 7.7 or migrate to 7.8 to leverage the default modal container.


Mehmet Sakir KUTLU
November 26, 2018, 7:42 PM

ok, fair enough.

Not a bug


Pierrick Voulet


Mehmet Sakir KUTLU

Affects versions



Fix versions