From 4a62b82b16a82e68b527baf1d7f7696993b45503 Mon Sep 17 00:00:00 2001 From: Hanna Kurban Date: Tue, 14 Jan 2025 16:24:07 +0300 Subject: [PATCH] FIO-9156 fixed the display of Captcha component for nested forms --- src/Webform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Webform.js b/src/Webform.js index e71ff02426..2950b8443f 100644 --- a/src/Webform.js +++ b/src/Webform.js @@ -1768,7 +1768,7 @@ export default class Webform extends NestedDataComponent { } triggerCaptcha() { - if (!this || !this.components) { + if (!this || !this.components || this.options.preview) { return; } const captchaComponent = [];