Skip to content

Commit

Permalink
fix(localisation): update localisation form
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Nov 6, 2023
1 parent 1d7a68d commit 3830ca7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/forms/localisation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,11 @@ export default function LocalisationForm({ id, data, onDelete, onSave }) {
label="Date de fin"
onDateChange={(value) => updateForm({ endDate: value })}
/>
</Col>
<Col n="12">
<Checkbox
label="Date de fin inconnue mais passée"
onChange={() => updateForm({ active: false })}
onChange={(e) => updateForm({ active: !e.target.checked })}
checked={form.active === false}
/>
</Col>
Expand Down

0 comments on commit 3830ca7

Please sign in to comment.