mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-19 06:21:15 +00:00
feat: address formatting
This commit is contained in:
parent
47d92eabc5
commit
afe2b08eac
1 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,10 @@
|
|||
.required()
|
||||
.matches(/^([0-3]?[0-9])\.(0?[1-9]|1[0-2])\.[0-9]{4}$/),
|
||||
sex: yup.string(),
|
||||
address: yup.string().required(),
|
||||
address: yup
|
||||
.string()
|
||||
.required()
|
||||
.matches(/^[A-zÀ-ú]+\s[0-9]+,\s?[A-zÀ-ú]+,\s?[0-9]{3}\s[0-9]{2}$/),
|
||||
citizenship: yup.string().required(),
|
||||
personalIdNumber: yup.string().required(),
|
||||
study: yup.string().required()
|
||||
|
|
|
|||
Loading…
Reference in a new issue