mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-03 01:50: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
|
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