From 3ca335bd54d1c12c2362482d0fc221e8c2ae0c10 Mon Sep 17 00:00:00 2001 From: Peter Thomassen Date: Thu, 25 Apr 2024 14:47:15 +0200 Subject: [PATCH] fix(webapp): allow shift selection --- www/webapp/src/components/Field/RecordItem.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/webapp/src/components/Field/RecordItem.vue b/www/webapp/src/components/Field/RecordItem.vue index d2709022e..95230923f 100644 --- a/www/webapp/src/components/Field/RecordItem.vue +++ b/www/webapp/src/components/Field/RecordItem.vue @@ -287,10 +287,16 @@ export default { this.setPosition(this.getPosition() + 1); }, endHandler(event) { + if (event.shiftKey) { + return; + } event.preventDefault(); this.setPosition(this.value.length); }, homeHandler(event) { + if (event.shiftKey) { + return; + } event.preventDefault(); this.setPosition(0); },