Clan pronouns
This commit is contained in:
parent
c9da06445d
commit
4b52854180
1 changed files with 19 additions and 17 deletions
|
@ -94,7 +94,8 @@ export const PartialClanSchema = yup
|
||||||
pronouns: yup
|
pronouns: yup
|
||||||
.array()
|
.array()
|
||||||
.of(
|
.of(
|
||||||
yup.tuple([
|
yup
|
||||||
|
.tuple([
|
||||||
yup
|
yup
|
||||||
.string()
|
.string()
|
||||||
.matches(/^[A-z]+$/, "Letters only")
|
.matches(/^[A-z]+$/, "Letters only")
|
||||||
|
@ -111,6 +112,7 @@ export const PartialClanSchema = yup
|
||||||
.max(10)
|
.max(10)
|
||||||
.lowercase() // hers, his, theirs
|
.lowercase() // hers, his, theirs
|
||||||
])
|
])
|
||||||
|
.required()
|
||||||
)
|
)
|
||||||
.min(1)
|
.min(1)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue