Skip to content

Commit 4515bc2

Browse files
committed
fix: valueType default empty string to support startsWith
1 parent 25df40d commit 4515bc2

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
@@ -26,7 +26,7 @@ const getValue = (element) => {
2626

2727
let prefix = element.getAttribute('value-prefix') || "";
2828
let suffix = element.getAttribute('value-suffix') || "";
29-
let valueType = element.getAttribute('value-type');
29+
let valueType = element.getAttribute('value-type') || "";
3030

3131
if (element.type === "checkbox") {
3232
let inputs = [element]

0 commit comments

Comments
 (0)