matiastucci/vue-input-tag

Filter tags on add: toLowerCase and remove accents

webarthur opened this issue · 1 comments

It's possible to implement a filter function param? Something like:

<input-tag :onAddTag="customFunction"></input-tag>

And my custom function would be:

  methods: {
    customFunction (tag) {
      return tag.toLowerCase()
    }
  }

Now it's not possible. But feel free to open a PR 👍