feat: allow for URL pattern matching on funnels
This commit is contained in:
1 parent
d8e46e487c
commit
5ca87ddab8
2 files changed
+42
-5
No files matched your search
@@ -31,7 +31,10 @@ const schema = {
|
||||
.of(
|
||||
yup.object().shape({
|
||||
type: yup.string().required(),
|
||||
value: yup.string().required(),
|
||||
value: yup
|
||||
.string()
|
||||
.matches(/^[a-zA-Z0-9/*-_]+$/, 'Invalid URL pattern')
|
||||
.required(),
|
||||
}),
|
||||
)
|
||||
.min(2)
|
||||
|
||||
Reference in new issue
Block a user