You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple of things I noticed when referring to the documentation for field validation regex in API https://docs.dadi.cloud/api/6.1
1. Missing quotes in regex example
In the documentation for Collection Fields https://docs.dadi.cloud/api/6.1#collection-fields the table shows an example for validation.regex. This is missing quotes around the regex pattern value.
{ "pattern": /[A-Z]*/ } should be { "pattern": "/[A-Z]*/" }
2. Missing documentation for flags property
There is no documentation for the validation.regex.flags property.
"regex": {
"pattern": "....",
"flags": "i"
}
}
The text was updated successfully, but these errors were encountered:
A couple of things I noticed when referring to the documentation for field validation regex in API https://docs.dadi.cloud/api/6.1
1. Missing quotes in regex example
In the documentation for Collection Fields https://docs.dadi.cloud/api/6.1#collection-fields the table shows an example for
validation.regex
. This is missing quotes around the regex pattern value.{ "pattern": /[A-Z]*/ }
should be{ "pattern": "/[A-Z]*/" }
2. Missing documentation for flags property
There is no documentation for the
validation.regex.flags
property.The text was updated successfully, but these errors were encountered: