@wix/form-public 0.224.0 → 0.226.0
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/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -22477,7 +22477,6 @@ var require_messages_en = __commonJS({
|
|
|
22477
22477
|
"dext-checkbox.input.error.message.not-allowed-value": "Check the box to continue.",
|
|
22478
22478
|
"field.date.placeholder.year": "Year",
|
|
22479
22479
|
"date-picker.input.error.message.max-value-error": "Enter a valid date from January 1, 1000 to today.",
|
|
22480
|
-
"settings.score.input-label": "Points awarded",
|
|
22481
22480
|
"field.signature.text.placeholder": "Type your signature",
|
|
22482
22481
|
"dext-date-picker.input.error.message.format-error": "Choose a date.",
|
|
22483
22482
|
"form.file-upload.error.upload-limit": "There is an upload limit of {limit, plural, one {# file} other {# files}}.",
|
|
@@ -33193,7 +33192,9 @@ var useSubmit = ({ validateAndScrollToError, submitAction, onSubmit, onSubmitSuc
|
|
|
33193
33192
|
} else if (action === SubmitSuccessAction.REDIRECT) {
|
|
33194
33193
|
redirectToExternalUrl(submitSettings?.redirectOptions);
|
|
33195
33194
|
} else if (action === SubmitSuccessAction.POPUP) {
|
|
33196
|
-
|
|
33195
|
+
setTimeout(() => {
|
|
33196
|
+
openPopup?.(submitSettings?.popupOptions?.popupId ?? "", {});
|
|
33197
|
+
}, 500);
|
|
33197
33198
|
}
|
|
33198
33199
|
setSubmitFailureCode(void 0);
|
|
33199
33200
|
setSubmitFailureMessage(void 0);
|