From b62f5194be57171b4ab090703d22d184895db6aa Mon Sep 17 00:00:00 2001 From: Jordan Cannon Date: Fri, 28 Jul 2023 00:57:28 -0500 Subject: [PATCH] Fix logic of isFieldValid by checking if equal to undefined rather than not equal to null --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b50ede4..435f1da 100644 --- a/src/index.ts +++ b/src/index.ts @@ -788,7 +788,7 @@ export class ValidationService { } let fieldUID = this.getElementUID(field); - return this.summary[fieldUID] != null; + return this.summary[fieldUID] === undefined; } /**