File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1684,8 +1684,12 @@ function WidgetsValueModal(props) {
1684
1684
validateExpression ( regexValidation ) ;
1685
1685
break ;
1686
1686
default :
1687
- regexValidation =
1688
- currWidgetsDetails ?. options ?. validation ?. pattern || "" ;
1687
+ // Grab the current pattern (if it exists)
1688
+ const pattern = currWidgetsDetails ?. options ?. validation ?. pattern ;
1689
+ // Removed `backwordSupportPattern` (/^[a-zA-Z0-9s]+$/) — it blocked spaces and special characters.
1690
+ const backwordSupportPattern =
1691
+ pattern && pattern === "/^[a-zA-Z0-9s]+$/" ? "" : pattern ; // If it matches exactly '/^[a-zA-Z0-9s]+$/', clear it
1692
+ regexValidation = backwordSupportPattern || "" ;
1689
1693
validateExpression ( regexValidation ) ;
1690
1694
break ;
1691
1695
}
Original file line number Diff line number Diff line change @@ -865,7 +865,10 @@ function PdfRequestFiles(
865
865
const user = usermail ?. Email
866
866
? usermail
867
867
: pdfDetails ?. [ 0 ] ?. Signers [ newIndex ] ;
868
- if ( sendmail !== "false" && sendInOrder ) {
868
+ if (
869
+ sendmail !== "false" &&
870
+ sendInOrder
871
+ ) {
869
872
const requestBody =
870
873
updatedDoc . updatedPdfDetails ?. [ 0 ] ?. RequestBody ;
871
874
const requestSubject =
You can’t perform that action at this time.
0 commit comments