Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
timdiggins opened this issue Feb 16, 2024 · 2 comments
Closed
3 tasks done
Labels

Comments

@timdiggins
Copy link

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

馃挜 Demo Page

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

Explanation

  • What is the expected behavior?
    I can click (or tab) into a single select field, NOT select anything and (with the drop down still showing) tab to next field without error

  • What is happening instead?

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

  • What error message are you getting?
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 yairEO added the Bug label Feb 16, 2024
@yairEO
Copy link
Owner

yairEO commented Feb 16, 2024

Thanks for reporting I am on it.

@yairEO
Copy link
Owner

yairEO commented Mar 16, 2024

fixed in v4.22

@yairEO yairEO closed this as completed Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants