Skip to content

Commit a69abb6

Browse files
authored
Added strict equality check
1 parent 5ddca06 commit a69abb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-form-renderer/src/validators/validator-functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const numericality = memoize(
9090
lessOrEqual = selectNum(lessOrEqual, lessThanOrEqualTo);
9191

9292
return prepare((value) => {
93-
if (value == null) {
93+
if (value === null || value === undefined) {
9494
return;
9595
}
9696

0 commit comments

Comments
 (0)