Skip to content

Commit

Permalink
fix: delete record modal pressing del when editing a field, fixes #767
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Feb 23, 2024
1 parent fd3dd03 commit 586f901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/WorkspaceTabQueryTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
autofocus
class="editable-field form-input input-sm px-1"
@blur="editOFF"
@keyup.delete.stop
>
<BaseSelect
v-else-if="inputProps.type === 'boolean'"
v-model="editingContent"
:options="['true', 'false']"
class="form-select small-select editable-field"
@blur="editOFF"
@keyup.delete.stop
/>
<BaseSelect
v-else-if="enumArray"
Expand All @@ -58,6 +60,7 @@
class="form-select small-select editable-field"
dropdown-class="small-select"
@blur="editOFF"
@keyup.delete.stop
/>
<input
v-else
Expand All @@ -67,6 +70,7 @@
autofocus
class="editable-field form-input input-sm px-1"
@blur="editOFF"
@keyup.delete.stop
>
</template>
</template>
Expand Down

0 comments on commit 586f901

Please sign in to comment.