Skip to content

Commit 5b70b42

Browse files
author
Charly POLY
authored
Merge pull request #39 from lukasluecke/patch-1
fix(component): handle falsy conditionals
2 parents 206a8cb + eddea87 commit 5b70b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/forms/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const applyConditionsReducer =
8888
if (
8989
filter(propUi['ui:if'], (predicate, k) => {
9090
const value = get(data, k);
91-
return predicate && predicate !== value;
91+
return predicate !== value;
9292
}).length === 0
9393
) {
9494
Object.assign(acc, curr);

0 commit comments

Comments
 (0)