|
|
@ -713,6 +713,10 @@ class FormFields {
|
|
|
|
if (input.checked)
|
|
|
|
if (input.checked)
|
|
|
|
obj[property] = value;
|
|
|
|
obj[property] = value;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
let dataFmtType = input.getAttribute("data-fmt-type");
|
|
|
|
|
|
|
|
if (["day", "time"].includes(dataFmtType))
|
|
|
|
|
|
|
|
obj[property] = value.replace(/-|:/gi, "");
|
|
|
|
|
|
|
|
else
|
|
|
|
obj[property] = value;
|
|
|
|
obj[property] = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// log(property, value, "radio" == input.type ? "radio" : "", input.checked ? "checked" : "");
|
|
|
|
// log(property, value, "radio" == input.type ? "radio" : "", input.checked ? "checked" : "");
|
|
|
|