Skip to content

Commit

Permalink
fix(webapp): allow shift selection
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomassen committed Apr 25, 2024
1 parent b9aafb4 commit 3ca335b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/webapp/src/components/Field/RecordItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit 3ca335b

Please sign in to comment.