Skip to content

Commit 003b160

Browse files
committed
Merge pull request #27 from Rasive/master
Array of objects with oneOf prop
2 parents 22a9a9b + b517ea2 commit 003b160

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
@@ -360,7 +360,7 @@ if (typeof brutusin === "undefined") {
360360
option.value = s.oneOf[i];
361361
appendChild(option, textNode, s);
362362
appendChild(input, option, s);
363-
if (value === undefined)
363+
if (value === undefined || value === null)
364364
continue;
365365
if (s.readOnly)
366366
input.disabled = true;

0 commit comments

Comments
 (0)