Skip to content

Commit

Permalink
Toggle checkbox state with enter
Browse files Browse the repository at this point in the history
Addresses RISDEV-2948
  • Loading branch information
zechmeister committed Dec 18, 2023
1 parent 76bfa69 commit da997f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/shared/components/input/CheckboxInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ const isInvalid = computed(() => props.validationError !== undefined)
class="ds-checkbox"
:class="{ 'has-error': isInvalid, 'ds-checkbox-small': size === 'small' }"
type="checkbox"
@keydown.enter="localModelValue = !localModelValue"
/>
</template>

0 comments on commit da997f1

Please sign in to comment.