Skip to content

Commit

Permalink
fix: main board required when not present
Browse files Browse the repository at this point in the history
  • Loading branch information
LiviaValenti committed Jan 15, 2024
1 parent 528e08c commit 315b1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ApplicationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +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
required={isToMainBoard && form.values.committees.length > 1}
maxRows={10}
minRows={3}
onBlur={() => form.validateField('main_board_text')}
Expand Down

0 comments on commit 315b1c2

Please sign in to comment.