mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-29 21:14:59 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da4b604710 | ||
|
|
82d518b3c9 | ||
|
|
dcbde2b661 |
@@ -1684,8 +1684,12 @@ function WidgetsValueModal(props) {
|
|||||||
validateExpression(regexValidation);
|
validateExpression(regexValidation);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
regexValidation =
|
// Grab the current pattern (if it exists)
|
||||||
currWidgetsDetails?.options?.validation?.pattern || "";
|
const pattern = currWidgetsDetails?.options?.validation?.pattern;
|
||||||
|
// Removed `backwordSupportPattern` (/^[a-zA-Z0-9s]+$/) — it blocked spaces and special characters.
|
||||||
|
const backwordSupportPattern =
|
||||||
|
pattern && pattern === "/^[a-zA-Z0-9s]+$/" ? "" : pattern; // If it matches exactly '/^[a-zA-Z0-9s]+$/', clear it
|
||||||
|
regexValidation = backwordSupportPattern || "";
|
||||||
validateExpression(regexValidation);
|
validateExpression(regexValidation);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -865,7 +865,10 @@ function PdfRequestFiles(
|
|||||||
const user = usermail?.Email
|
const user = usermail?.Email
|
||||||
? usermail
|
? usermail
|
||||||
: pdfDetails?.[0]?.Signers[newIndex];
|
: pdfDetails?.[0]?.Signers[newIndex];
|
||||||
if (sendmail !== "false" && sendInOrder) {
|
if (
|
||||||
|
sendmail !== "false" &&
|
||||||
|
sendInOrder
|
||||||
|
) {
|
||||||
const requestBody =
|
const requestBody =
|
||||||
updatedDoc.updatedPdfDetails?.[0]?.RequestBody;
|
updatedDoc.updatedPdfDetails?.[0]?.RequestBody;
|
||||||
const requestSubject =
|
const requestSubject =
|
||||||
|
|||||||
Reference in New Issue
Block a user