From 05750d6de2c0a657086b08fa84fd9c72b6aac48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 4 Sep 2023 21:27:37 +0000 Subject: [PATCH] select() on PreviewDoor click --- ui/src/components/door_map/PreviewDoor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/door_map/PreviewDoor.vue b/ui/src/components/door_map/PreviewDoor.vue index fa03c23..f3b23ac 100644 --- a/ui/src/components/door_map/PreviewDoor.vue +++ b/ui/src/components/door_map/PreviewDoor.vue @@ -107,7 +107,7 @@ export default class extends Vue { if (!this.editing) { const day_input_focus = () => { if (this.$refs.day_input instanceof HTMLInputElement) { - this.$refs.day_input.focus(); + this.$refs.day_input.select(); return; }