sigh
This commit is contained in:
parent
37d8669514
commit
d9982d9206
1 changed files with 1 additions and 3 deletions
|
@ -19,7 +19,6 @@ export const SubmitTrollSchema = yup
|
||||||
.string()
|
.string()
|
||||||
.notRequired()
|
.notRequired()
|
||||||
.matches(/^[A-z]+$/, "Letters only")
|
.matches(/^[A-z]+$/, "Letters only")
|
||||||
.min(3)
|
|
||||||
.max(24)
|
.max(24)
|
||||||
.lowercase()
|
.lowercase()
|
||||||
])
|
])
|
||||||
|
@ -214,13 +213,12 @@ export const PartialTrollSchema = yup
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
||||||
.min(1)
|
.min(3)
|
||||||
.max(24)
|
.max(24)
|
||||||
.lowercase(),
|
.lowercase(),
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.matches(/^[A-z]+$/, "Letters only")
|
.matches(/^[A-z]+$/, "Letters only")
|
||||||
.min(1)
|
|
||||||
.max(24)
|
.max(24)
|
||||||
.lowercase()
|
.lowercase()
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in a new issue