Skip to content

Commit

Permalink
style: macro parameters auto-select text on focus
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Sep 17, 2024
1 parent 07e94a5 commit 000a6a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/widgets/macros/MacroBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,18 @@
:key="param"
v-model="params[param].value"
:label="param"
persistent-placeholder
outlined
dense
hide-details="auto"
spellcheck="false"
class="console-command"
:class="{ 'mb-3': (i < paramList.length - 1) }"
@focus="$event.target.select()"
>
<template #append>
<app-btn
v-if="params[param].value !== params[param].reset"
style="margin-top: -4px; margin-right: -6px;"
color=""
icon
Expand Down

0 comments on commit 000a6a5

Please sign in to comment.