@frk/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templating and much more
2,671
Install
npm install @frk/vue-tags-input
Latest Version:2.3.1
Vue:2
License:MIT
Last Updated:May 20, 2020
Links: GitHub  ·  npm
Maintainer: abasille

vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templating and much more

:information_source: Forked from @johmun/vue-tags-input which seems no longer maintained.

Demo & Docs (:warning: → @johmun/vue-tags-input)

Features

  • No dependencies
  • Custom validation rules
  • Hooks: Before adding, Before deleting ...
  • Edit tags after creation
  • Fast setup
  • Works with Vuex
  • Small size: 34kb minified (css included) | gzipped 9kb
  • Autocompletion
  • Many customization options
  • Own templates
  • Delete tags on backspace
  • Add tags on paste
  • Examples & Docs

Install

NPM

npm install --save @frk/vue-tags-input

Yarn

yarn add @frk/vue-tags-input

CDN (:warning: → @johmun/vue-tags-input)

<script src="https://unpkg.com/@johmun/vue-tags-input/dist/vue-tags-input.js"></script>

Usage

<template>
  <div>
    <vue-tags-input v-model="tag" :tags="tags" @tags-changed="newTags => tags = newTags" />
  </div>
</template>
<script>
import VueTagsInput from '@frk/vue-tags-input';

export default {
  components: {
    VueTagsInput,
  },
  data() {
    return {
      tag: '',
      tags: [],
    };
  },
};
</script>

TODO

  • Publish a Pull request for inheritAttrs: false in @johmun/vue-tags-input.
  • Update the documentation about the consequencies of inheritAttrs: false and publish it.
  • Upgrade all the packages to their latest version.
  • Document the NPM publish workflow with np.

License

MIT

Copyright (c) 2020 ODHCOM

Related Packages

@johmun/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templat...

878,155 951
@sergor5/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templat...

365 0
@sipec/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

342,472 23
@wslyhbb/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

173,275 0
@savingsunited/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

4,158 0

Version History

Version Released Vue License
2.3.1 2.x MIT
2.3.0 2.x MIT
2.2.0 2.x MIT