diff --git a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte index f34b5da..1380596 100644 --- a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte +++ b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte @@ -62,7 +62,6 @@ personalIdNumber: '', schoolName: '', healthInsurance: '', - study: '' }, parents: [ { @@ -110,7 +109,6 @@ personalIdNumber: yup.string().required(), schoolName: yup.string().required(), healthInsurance: yup.number().required(), - study: yup.string().required() }), parents: yup.array().of( yup.object().shape({ @@ -332,8 +330,7 @@ $typedErrors['candidate']['citizenship'] || $typedErrors['candidate']['personalIdNumber'] || $typedErrors['candidate']['schoolName'] || - $typedErrors['candidate']['healthInsurance'] || - $typedErrors['candidate']['study'] + $typedErrors['candidate']['healthInsurance'] ) { return true; } @@ -640,7 +637,7 @@ {/if} - + {/if} - - - {/if}