mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
feat: allow for URL pattern matching on funnels
This commit is contained in:
parent
d8e46e487c
commit
5ca87ddab8
2 changed files with 42 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue