add cheap autocomplete for tags

This commit is contained in:
Zutatensuppe 2021-06-03 23:30:08 +02:00
parent f303a78631
commit df7584f19d
4 changed files with 135 additions and 13 deletions

View file

@ -36,7 +36,7 @@ gallery", if possible!
<!-- TODO: autocomplete tags -->
<td><label>Tags</label></td>
<td>
<tags-input v-model="tags" />
<tags-input v-model="tags" :autocompleteTags="autocompleteTags" />
</td>
</tr>
</table>
@ -62,6 +62,11 @@ export default defineComponent({
ResponsiveImage,
TagsInput,
},
props: {
autocompleteTags: {
type: Function,
},
},
emits: {
bgclick: null,
setupGameClick: null,