We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So the tag would created as soon as you paste the text without having to hit enter.
The text was updated successfully, but these errors were encountered:
i am looking for this function too, because our users often copy and paste content.
Sorry, something went wrong.
I have achieved this behavior using @tag-added event and the following handler.
@tag-added="parseKeywords"
parseKeywords: function (keyword) { let val = keyword.value; if (val.indexOf(',') !== -1 || val.indexOf(';') !== -1) { this.selected.keywords.pop(); val.split(/[,;]/).forEach(val => { let found = this.selected.keywords.some(el => el.value === val); if (!found && val.trim().length > 0) { this.selected.keywords.push({key:'', value: val}) } }) } }
No branches or pull requests
So the tag would created as soon as you paste the text without having to hit enter.
The text was updated successfully, but these errors were encountered: