aehlke / tag-it

A jQuery UI plugin to handle multi-tag fields as well as tag suggestions/autocomplete.
http://aehlke.github.com/tag-it/
MIT License
2.48k stars 826 forks source link

fix: setting tabindex attr when the value is 0 #432

Closed abhaysp95 closed 2 years ago

abhaysp95 commented 2 years ago
$(#customselector).tagit({
tabIndex: 0
});

This should set tabindex="0", since0` is a valid value for setting tabindex when it's meant to be keyboard accessible but not manually overriding tab order