mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-07 20:10:44 +00:00
fix: match street addresses with format XXX 00/0X
This commit is contained in:
parent
75ebef476d
commit
863ccaa692
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@
|
||||||
houseNumber: yup
|
houseNumber: yup
|
||||||
.string()
|
.string()
|
||||||
.required()
|
.required()
|
||||||
.matches(/^[0-9]+(\/[0-9]+)?$/),
|
.matches(/^[0-9]+(\/[0-9]+([a-zA-Z]+)?)?$/),
|
||||||
city: yup.string().required(),
|
city: yup.string().required(),
|
||||||
zip: yup.string().required(),
|
zip: yup.string().required(),
|
||||||
letterAddress: yup.string(),
|
letterAddress: yup.string(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue