Skip to content

Commit 1efe353

Browse files
authored
Update brutusin-json-forms.js
1 parent d08281f commit 1efe353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/brutusin-json-forms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ if (typeof brutusin === "undefined") {
12511251
return input.getValue();
12521252
}
12531253
var value;
1254-
if (schema.enum) {
1254+
if (input.tagName.toLowerCase() === "select") {
12551255
value = input.options[input.selectedIndex].value;
12561256
} else {
12571257
value = input.value;

0 commit comments

Comments
 (0)