Skip to content

Commit

Permalink
chore: hopefully prevent pressing enter in structure checks from subm…
Browse files Browse the repository at this point in the history
…itting the form
  • Loading branch information
bsilkyn committed May 23, 2024
1 parent 7031ae8 commit 4adfa01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/projects/ProjectStructureEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ function selectStructureCheck(node: TreeNode): void {
separator=","
:model-value="node.data.getObligatedExtensionList()"
@update:model-value="node.data.setObligatedExtensionList($event)"
@keydown.enter="() => null"
v-tooltip="t('views.projects.structureChecks.obligatedExtensions')"
>
<template #chip="{ value }">
Expand All @@ -127,6 +128,7 @@ function selectStructureCheck(node: TreeNode): void {
separator=","
:model-value="node.data.getBlockedExtensionList()"
@update:model-value="node.data.setBlockedExtensionList($event)"
@keydown.enter="() => null"
v-tooltip="t('views.projects.structureChecks.blockedExtensions')"
>
<template #chip="{ value }">
Expand Down

0 comments on commit 4adfa01

Please sign in to comment.