Tagging.vue 409 Bytes
Newer Older
Anton's avatar
Anton committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<template lang="pug">
  div
    q-chips-input(
    v-model="tags",
    dark,
    :float-label="$t('labels.tags')",
    chips-color="white",
    chips-bg-color="primary")
</template>

<script>
  export default {
    data () {
      return {
        tags: []
      }
    },
    watch: {
      tags (val) {
        this.$emit('updateTags', val)
      }
    }
  }
</script>

<style scoped lang="stylus">
</style>