getItemValue on a password field in Firefox returns blank

Hi,

I’m using the latest version of Firefox (64.0) and whenever I try to use the getItemValue function or the getFormData to get the value of the password field, all I get back is an empty string. If I change the field type to ‘input’, it works just fine. Any ideas?

Here’s the code

var layout;
        var frm;

        var frmStruct = [
            { type: "settings", position: "label-left", inputWidth: 200, labelWidth: 80 },
            {
                type: "block", width: 350, offsetTop: 10, list: [
                    { type: "input", name: "uname", label: "Username", required: true },
                    { type: "password", name: "pword", label: "Password", required: true }
                ]
            },
            {
                type: "block",
                offsetTop: 0,
                list: [
                    { type: "button", name: "login", offsetLeft: 80, offsetTop: 10, value: "Login" }
                ]
            }
        ];

        layout = new dhtmlXLayoutObject({
            parent: document.body,
            pattern: "1C"
        });

        layout.cells("a").setText("Login Form Testing");

        frm = layout.cells("a").attachForm();
        frm.loadStruct(frmStruct, "json");

        frm.attachEvent("onButtonClick", function (buttonId) {
            if (buttonId === "login") {
                console.log(frm.getFormData());
            }
        });

Unfortunately the problem cannot be reconstructed locally.
Your code works well for me locally in FF 64.
Please , refer to the following snippet
http://snippet.dhtmlx.com/6327c92d6