matiastucci / vue-input-tag

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

'Tab' key issue & Customisation of the key codes that trigger tag addition. #44

Closed olsgreen closed 6 years ago

olsgreen commented 6 years ago

Due to the implementation of the trigger that validates and adds tags, you cannot currently move on from this form control using the usual 'tab' key.

This has become an issue for us, so we have implemented the ability to provide an array of custom key codes that will trigger attempted validation & addition of a new tag. We have also made an exception for the tab key so it does not block focusing the next control on tab.