Question T10388
Visible to All Users

How to create custom editor in V2 creator

created 2 years ago

hi team!

How to register custom editor in V2 creator.

I used to have the below code for v1 creator

JavaScript
SurveyCreator .SurveyPropertyEditorFactory .registerCustomEditor("XYZ", { render: function(editor, htmlElement) { .... }});

Answers approved by surveyjs Support

created 2 years ago

Hello Agasya,
Please read our migration guide into V2. Here is the article about adding a new custom property and editor for it.

In short, Property Grid in V2 is a survey and you have to setup a required question type for your property. You can customize this question as you need.

Thank you,
Andrew
SurveyJS Team