Skip to content

Commit 7770462

Browse files
committed
Fix bug I introduced by trying to get smart
1 parent e507ac7 commit 7770462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function resolveDependencies(schema, definitions, formData) {
422422
// Process dependencies updating the local schema properties as appropriate.
423423
for (const dependencyKey in dependencies) {
424424
// Skip this dependency if its trigger property is not present.
425-
if (!formData.hasOwnProperty(dependencyKey)) {
425+
if (formData[dependencyKey] === undefined) {
426426
continue;
427427
}
428428
const dependencyValue = dependencies[dependencyKey];

0 commit comments

Comments
 (0)