Description
Description
When adding special characters to input masks for fields, eg. Regex expressions, the field gets sanitized after "Save Fields" (Backlashes are removed)
It gets taken into account when saved first time, but is removed from the visual interface. If saving the edit a second time, it breaks
the expression.
Expected behavior:
Special characters remain in the input mask field, after fields have been saved and reopened for edit.
Step-by-step reproduction instructions
-
Add a new group with a "text input" field.
-
Fill out the options accordingly.
-
Activate RegEx for "input masking"
-
Write expression eg. [a-z]{1,10}\s[a-z]{1,10}
-
Update the field. you can press edit again and see that (this does not sanitize the field) (close or update)
-
Press "Save Fields" the RegEx expression now works as expected for the respected field.
-
Edit the field again. Field is now sanitized and the backlash has been removed from the syntax.
8 Update and save the field again, without editing anything. The expression is now broken and longer works as expected.
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
No