Skip to content

Commit

Permalink
use combobox for tag addition dialog (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruemmelspalter authored Jan 15, 2023
1 parent 47022ef commit 4959b30
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/components/DocumentDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@
Add Tag
</v-card-title>
<v-form @submit.prevent="addTag(tagToAdd); tagToAdd=''">
<v-text-field
<v-form class="pa-5" @submit.prevent="addTag(tagToAdd); tagToAdd=''">
<v-combobox
v-model="tagToAdd"
:items="$store.getters.tags"
autofocus
class="mx-5"
label="Tag"
required
/>
<v-btn type="submit">
Submit
</v-btn>
</v-form>
</v-card>
</v-dialog>
Expand Down

0 comments on commit 4959b30

Please sign in to comment.