Removed URL validation.
This commit is contained in:
1 parent
67164a72a0
commit
85a348c55d
2 files changed
+2
-6
No files matched your search
@@ -31,10 +31,7 @@ const schema = {
|
||||
.of(
|
||||
yup.object().shape({
|
||||
type: yup.string().required(),
|
||||
value: yup
|
||||
.string()
|
||||
.matches(/^[a-zA-Z0-9/*-_]+$/, 'Invalid URL pattern')
|
||||
.required(),
|
||||
value: yup.string().required(),
|
||||
}),
|
||||
)
|
||||
.min(2)
|
||||
|
||||
Reference in new issue
Block a user