Hello.
I can see from Override the Property Grid's component, Survey Creator Example (surveyjs.io) that it's possible to register a React component in the property grid with
JavaScriptSurveyReact
.ReactElementFactory
.Instance
.registerElement("svc-property-grid", (props) => {
return React.createElement(CustomPropertyGridWrapper, props);
});
Now, I want to create a CustomPropertyGridWrapper but display it only when my custom component is active. I have added my custom component using this as a template surveyjs_react_quickstart/MyQuestion.js at master · surveyjs/surveyjs_react_quickstart · GitHub