We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c628140 commit 66a53cbCopy full SHA for 66a53cb
src/getValue.js
@@ -70,7 +70,7 @@ const getValue = (element) => {
70
optionValue = prefix + optionValue + suffix;
71
value.push(optionValue);
72
}
73
- } else if (["time", "datetime", "datetime-local"].includes(el.type)) {
+ } else if (["time", "datetime", "datetime-local"].includes(element.type)) {
74
value = new Date(value).toISOString();
75
if (el.type === 'time')
76
value = value.substring(11, 8) + 'Z';
0 commit comments