yairEO / tagify

🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue
https://yaireo.github.io/tagify/
Other
3.53k stars 435 forks source link

Tabbing without selecting a single-select has TypeError / null dereference #1296

Closed timdiggins closed 7 months ago

timdiggins commented 8 months ago

Prerequisites

💥 Demo Page

https://yaireo.github.io/tagify/#section-mode-select

Explanation

When I tab, an error is raised (and tab action does not occur)

jQuery.tagify.min.js:27 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')
    at _.getMappedValue (jQuery.tagify.min.js:27:12074)
    at jQuery.tagify.min.js:27:7002
getMappedValue @ jQuery.tagify.min.js:27
(anonymous) @ jQuery.tagify.min.js:27
Promise.then (async)
onKeyDown @ jQuery.tagify.min.js:27
yairEO commented 8 months ago

Thanks for reporting I am on it.

yairEO commented 7 months ago

fixed in v4.22