@formio/js 5.1.0-dev.5977.69f20ee → 5.1.0-dev.5978.4a62b82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +1 -1
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/Webform.js +1 -1
- package/lib/mjs/Webform.js +1 -1
- package/package.json +1 -1
package/lib/cjs/Webform.js
CHANGED
@@ -1530,7 +1530,7 @@ class Webform extends NestedDataComponent_1.default {
|
|
1530
1530
|
}
|
1531
1531
|
}
|
1532
1532
|
triggerCaptcha() {
|
1533
|
-
if (!this || !this.components) {
|
1533
|
+
if (!this || !this.components || this.options.preview) {
|
1534
1534
|
return;
|
1535
1535
|
}
|
1536
1536
|
const captchaComponent = [];
|
package/lib/mjs/Webform.js
CHANGED
@@ -1530,7 +1530,7 @@ export default class Webform extends NestedDataComponent {
|
|
1530
1530
|
}
|
1531
1531
|
}
|
1532
1532
|
triggerCaptcha() {
|
1533
|
-
if (!this || !this.components) {
|
1533
|
+
if (!this || !this.components || this.options.preview) {
|
1534
1534
|
return;
|
1535
1535
|
}
|
1536
1536
|
const captchaComponent = [];
|