From 2fc869a44a8f5ad679de0522bbb22876f95cd6f1 Mon Sep 17 00:00:00 2001 From: Eivind Dalholt Date: Wed, 20 Sep 2023 14:41:06 +0200 Subject: [PATCH] fix: make application text required --- frontend/src/components/ApplicationForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/ApplicationForm.tsx b/frontend/src/components/ApplicationForm.tsx index e411e23..801a7e4 100644 --- a/frontend/src/components/ApplicationForm.tsx +++ b/frontend/src/components/ApplicationForm.tsx @@ -298,6 +298,7 @@ export function Form({ committees }: IFormProps) { description='Nevn gjerne alder, klasse, studieretning, erfaring og motivasjon' label={`Søknadstekst for ${MAIN_BOARD_NAME}`} autosize + required maxRows={10} minRows={3} onBlur={() => form.validateField('main_board_text')}