..forgot pronunciation
This commit is contained in:
parent
8d079adaf3
commit
37d8669514
1 changed files with 3 additions and 3 deletions
|
@ -30,12 +30,12 @@ export const SubmitTrollSchema = yup
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.required()
|
.required()
|
||||||
.matches(/^[A-z-]+$/, "Letters only")
|
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
||||||
.lowercase()
|
.lowercase()
|
||||||
.max(50),
|
.max(50),
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.required()
|
.notRequired()
|
||||||
.matches(/^[A-z-]+$/, "Letters only")
|
.matches(/^[A-z-]+$/, "Letters only")
|
||||||
.lowercase()
|
.lowercase()
|
||||||
.max(50)
|
.max(50)
|
||||||
|
@ -228,7 +228,7 @@ export const PartialTrollSchema = yup
|
||||||
pronunciation: yup.tuple([
|
pronunciation: yup.tuple([
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.matches(/^[A-z-]+$/, "Letters only")
|
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
||||||
.lowercase(),
|
.lowercase(),
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
|
|
Loading…
Reference in a new issue