Skip to content

Commit 244c0c7

Browse files
committed
Fixed "undefined" initial value for strings
1 parent 77fb819 commit 244c0c7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/js/brutusin-json-forms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ if (typeof brutusin === "undefined") {
648648
} else {
649649
input.type = "text";
650650
}
651-
if (value !== null) {
651+
if (value !== null && typeof value !== "undefined") {
652652
input.value = value;
653653
}
654654
}

0 commit comments

Comments
 (0)