vue-input-tag
vue-input-tag copied to clipboard
Validate function did not work when input continuous comma
Version of Vue
I'm using?: 2.5.17
Version of vue-input-tag
I'm using?: 2.0.6
Hello, I tried to prevent the duplicate tags when using separator 'comma', but when I input tags with continuous comma, this component will add tags with 'comma' like this:
I added a validate function (e.g. return true
when arr.indexOf(newTag) === -1
), and a normalize function (e.g. return newTag.replace(',', '').trim()
), but they all did not work.