mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-11 10:40:34 +00:00
feat: birthSurname not required field
This commit is contained in:
parent
74bade7450
commit
ce94ec9eea
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@
|
|||
.string()
|
||||
.required()
|
||||
.matches(/^([0-3]?[0-9])\.(0?[1-9]|1[0-2])\.[0-9]{4}$/),
|
||||
birthSurname: yup.string().required(),
|
||||
birthSurname: yup.string(),
|
||||
sex: yup.string(),
|
||||
address: yup.string(),
|
||||
street: yup.string().required(),
|
||||
|
|
@ -539,7 +539,7 @@
|
|||
<TextField
|
||||
error={$typedErrors['candidate']['birthSurname']}
|
||||
bind:value={$form.candidate.birthSurname}
|
||||
placeholder={$LL.input.birthSurname()}
|
||||
placeholder={`${$LL.input.birthSurname()} (${$LL.input.optional()})`}
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue