Datatable.complexData question

Hi, all!
My skies don’t run again.

So, I create Webix Jet app with the simplest test form:

<code class="js">
define([
    "app",
], function (app) {
    var ui = {
        rows: [
            {
                view: "form",
                id: "a",
                complexData: true,
                elements:
                        [
                            {
                                view: "text",
                                label: "Ip Address:",
                                labelWidth: 200,
                                name: "ethernetPort1.ipAddress",
                            },
                        ]

            },
        ]
    };

    return {
        $ui: ui,
        $oninit: function (view) {
            $$("a").setValues(
                    {ethernetPort1: {
                            ipAddress: "10.10.1.80"
                        }
                    });
        }
    };
});
`

But it acts as if complexData is false.
Here is a console output:


JSON.stringify( $$("a").getValues() , null, "\\t")
"{
	"ethernetPort1": {
		"ipAddress": "10.10.1.80"
	},
	"ethernetPort1.ipAddress": ""
}"

ipAddress field is empty although getValues returns “ethernetPort1”: {“ipAddress”: “10.10.1.80”}.

Moreover, if I comment setValues() call, getValues() returns simple data,
while config.complexData is true. Console output:


JSON.stringify( $$("a").getValues() , null, "\\t")
"{
	"ethernetPort1.ipAddress": ""
}"
$$("a").config.complexData
true

The snippet works correctly : http://webix.com/snippet/75d05342
But my page doesn’t.

Any ideas?

Check version of webix.js ( webix.version ), most probably you are using a bit outdated version of Webix.

Yes, thank you!