matiastucci / vue-input-tag

:bookmark: Vue.js 2.0 Input Tag Component
https://tucci.me/vue-input-tag
MIT License
536 stars 135 forks source link

OnPaste Comma delimited list of tags (Common Tagsinput feature) #76

Closed imjakechapman closed 6 years ago

imjakechapman commented 6 years ago

Version of Vue I'm using?: V2.5.16 Version of vue-input-tag I'm using?: V1.0.4

Title is self explanatory. How can we handle the pasting of a comma delimited list of tags

example list tag-one, tag-two, tag-three, tag-four

Paste and it just becomes one large tag instead of multiple individual tags for each of the list.

matiastucci commented 6 years ago

We can add a onAddTag method like this suggestion https://github.com/matiastucci/vue-input-tag/issues/78

But I'm not planning on implementing this for now. Feel free to open a PR though.