fix: match street addresses with format XXX 00/0X

This commit is contained in:
Sebastian Pravda 2023-02-26 10:24:50 +01:00
parent 75ebef476d
commit 863ccaa692
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -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(),