initCreate giving Uncaught Unknown field name
initCreate giving Uncaught Unknown field name
muhammadwajid
Posts: 2Questions: 1Answers: 0
I am simply trying to add record in a table konstruksjoner
Uncaught Unknown field name - konstruksjoner.eiendomid
I have added field to editor fields.
{
"label": "eiendomid:",
"name": "konstruksjoner.eiendomid",
"type":"hidden"
}
while trying to add new record I tried with code
editor.on('initCreate', function() {
editor.set('konstruksjoner.eiendomid', eiendomid1);
});
but Its giving me error Uncaught Unknown field name - konstruksjoner.eiendomid
Is there anything I am missing?
Answers
There is nothing there that would cause the error you are seeing. Can you give me a link to the page showing the issue so I can take a look into it further please?
Allan
Thank you allan for response..
Sorry I cannot give you page link or access because It's for authorized users only..
same error was being thrown in my another code so I tried document.getElementById with settimeout and it worked.
but In this scenario every field I am trying to set inside initCreate is giving Unknown field error..
Can you create a test case showing the issue that I can see? All I can really guess at the moment is that something is removing the field.
Allan