Hi,
I want to add tag property in my survey creator.
I have referred to this Link:
https://surveyjs.io/Examples/Survey-Creator/?id=addproperties#content-js
I am using addProperty method, but they have no effect.
`
import * as SurveyCreator from 'survey-creator';
import * as Survey from 'survey-angular';
export default class SurveyCreator extends Component {
Survey.Serializer.addProperty("question", {name: "tag:number",default: 0,category: "general"});
var editorOptions = {
};
this.editor = new SurveyCreator("surveyCreatorContainer", editorOptions);
render() {
return <div id="surveyCreatorContainer" />;
}
}`
Expected behavior:
tag
property gets added to the question property grid.
Actual behavior:
tag
property doesn't get added.
Thanks.