Skip to content

Commit

Permalink
Use tag autocomplete (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruemmelspalter authored Jan 9, 2023
1 parent d96d0f5 commit 4cd31f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/DocumentCreationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<v-text-field v-model="creationMeta.title" :rules="[v=>!!v||'Title is required']" autofocus label="Title" />
<v-combobox
v-model="creationMeta.tags"
:items="$store.state.tags"
:items="$store.getters.tags"
:rules="[v => v.length !== 0||'At least one tag is required']"
chips
label="Tags"
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
>
<v-combobox
v-model="search"
:items="$store.state.tags"
:items="$store.getters.tags"
chips
class="mx-3 mt-5"
label="Search"
Expand Down

0 comments on commit 4cd31f0

Please sign in to comment.