Skip to content

Commit

Permalink
Merge pull request #137 from Amsterdam/description-update
Browse files Browse the repository at this point in the history
Make description field required in CaseCreatePage form
  • Loading branch information
remyvdwereld authored Nov 12, 2024
2 parents 710789f + 64da74b commit 0e62158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/CaseCreatePage/CaseCreatePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const CaseCreatePage: React.FC = () => {
<Form onSubmit={ onSubmit } >
<RadioGroupFieldSet name="advice_type" label="Wat is het advies type?" options={ options } validation={{ required: true }}/>
<ContactsFormFields />
<TextAreaField name="description" label="Toelichting" validation={{ required: false, maxLength: 1000 }} />
<TextAreaField name="description" label="Toelichting" validation={{ required: true, maxLength: 1000 }} />
<FormActionButtons okText="Zaak aanmaken" onCancel={ () => navigate(-1) } loading={ loading } />
</Form>
)}
Expand Down

0 comments on commit 0e62158

Please sign in to comment.