mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-19 22:41:13 +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
|
||||
.string()
|
||||
.required()
|
||||
.matches(/^[0-9]+(\/[0-9]+)?$/),
|
||||
.matches(/^[0-9]+(\/[0-9]+([a-zA-Z]+)?)?$/),
|
||||
city: yup.string().required(),
|
||||
zip: yup.string().required(),
|
||||
letterAddress: yup.string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue