Skip to content

Commit 66a53cb

Browse files
committed
fix: typo el to element
1 parent c628140 commit 66a53cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const getValue = (element) => {
7070
optionValue = prefix + optionValue + suffix;
7171
value.push(optionValue);
7272
}
73-
} else if (["time", "datetime", "datetime-local"].includes(el.type)) {
73+
} else if (["time", "datetime", "datetime-local"].includes(element.type)) {
7474
value = new Date(value).toISOString();
7575
if (el.type === 'time')
7676
value = value.substring(11, 8) + 'Z';

0 commit comments

Comments
 (0)