mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-19 04:18:52 +00:00
Merge pull request #209 from EETagent/fix_street_regex
fix: match street addresses with format XXX 00/0X
This commit is contained in:
commit
f9789aacff
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