..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
|
||||
.string()
|
||||
.required()
|
||||
.matches(/^[A-z-]+$/, "Letters only")
|
||||
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
||||
.lowercase()
|
||||
.max(50),
|
||||
yup
|
||||
.string()
|
||||
.required()
|
||||
.notRequired()
|
||||
.matches(/^[A-z-]+$/, "Letters only")
|
||||
.lowercase()
|
||||
.max(50)
|
||||
|
@ -228,7 +228,7 @@ export const PartialTrollSchema = yup
|
|||
pronunciation: yup.tuple([
|
||||
yup
|
||||
.string()
|
||||
.matches(/^[A-z-]+$/, "Letters only")
|
||||
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
|
||||
.lowercase(),
|
||||
yup
|
||||
.string()
|
||||
|
|
Loading…
Reference in a new issue