Error when I add dinamically fields in Editor
Error when I add dinamically fields in Editor
Hi, I have a problem.
I initialize the Editor in a certain way and later, depend upon certain events, I add a field in the Editor.
When I click on the "Update" button of the Editor I get the following error:
js TypeError: editData[name] is undefined
if(action===(V6G+H6q)&&value!==editData[name][idSrc]){builder(changedRowData,val...
Can anyone can help?
P.S. The code to add the field in the editor is:
js editor.add({name:"newLevel",label:"Shift To Level"});
Am I missing something?
This question has an accepted answers - jump to answer
Answers
Hi,
Are you able to give me a link to the page showing the issue, or show me the full code you are using to create and use the Editor.
Thanks,
Allan
I decided to create the field at the moment of init and then I hide it.
By the way, thank you for your quick answer