Add MediaSelector and PageSelector to custom ModalDialog

Jane Chrom asked on July 14, 2023 10:43

I created a custom modal dialog according to documentation: https://docs.xperience.io/developing-websites/page-builder-development/developing-modal-dialogs-for-builder-component-properties. I need to add properties for page and image (IList< PageSelector > and IList< MediaFilesSelector > in ColorModalDialogViewModel). Is it possible to add existing MediaSelector and PageSelector component to my custom dialog view?

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