Skip to content

Commit

Permalink
UPDATE: button logic to remove all answer
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Feb 11, 2025
1 parent 808b0db commit a8468fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/frontend/src/pages/PvkBehovPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,12 @@ export const PvkBehovPage = () => {
variant="tertiary"
onClick={() => {
setFieldValue('skalUtforePvk', null)
setFieldValue('pvkVurderingsBegrunnelse', '')
setFieldValue('ytterligereEgenskaper', [])
setCheckedYttligereEgenskaper([])
}}
>
Nullstill svar
Nullstill alle svar
</Button>
</div>
</Form>
Expand Down

0 comments on commit a8468fc

Please sign in to comment.