Until now, I was under the impression that I could not use composed variable name (name.firstName) when using a dhtmlxstore bind to a form?
I have a backend that returns JSON data with structure data as bellow
{“name”:{“firstName”:“Bob”, “lastName”:“Blah”}}
in my form creation I do
{ type:“input” , name: “name.firstName” }
Then I bind the form to the store, but cannot get the data to show, do I need to set anything else? or is this just not supported?
if I do the same and flatten the info from the server so that it look like:
{“firstName”:“Bob”, “lastName”:“Blah”}
and on the form:
{ type:“input” , name: “firstName” }
this work perfectly.
thanks
Sylvain