From d9cb5e58e405867b960e8e88806f906ac17b6ee1 Mon Sep 17 00:00:00 2001 From: Travis Tidwell Date: Tue, 2 Apr 2024 10:59:08 -0500 Subject: [PATCH] Fixing a renderer crash. --- src/Webform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Webform.js b/src/Webform.js index df10c726d9..2c2844e622 100644 --- a/src/Webform.js +++ b/src/Webform.js @@ -1147,7 +1147,7 @@ export default class Webform extends NestedDataComponent { errors = [errors]; } - errors = errors.concat(this.customErrors); + errors = errors.concat(this.customErrors).filter((err) => !!err); if (!errors.length) { this.setAlert(false);