Using Path Selector Form Component with a Modal Dialog (X13)

Ollie Furmage asked on October 15, 2021 17:54

I have created a Widget which uses the Modal Dialog functionality as documented.

It works very well with plain text inputs. However, I would like to use the Path Selector Form Component within this Modal Dialog. But I am struggling to find anything documenting how. The closest I have come to is using this link.

But within the Modal Dialog view window.kentico.pageBuilder is appearing as null, even when I add the line @Html.Kentico().PageBuilderScripts() into my Modal View.

Also worth noting that @Html.Kentico().PageBuilderStyles() does not give me the page builder css styles as expected and so I've resorted to manually using <link rel="stylesheet" href="/Kentico/Scripts/builders/page-builder.css" />

Any help would be much appreciated!

   Please, sign in to be able to submit a new answer.