Skip to content

Conversation

mthorzen
Copy link
Contributor

Hello!
I tried out jquery-typeahead and it's great! However, I accidentally wrote the wrong class on my input and got an error could not read value from undefined. Of course it couldn't find my input, but it seemed the array of found inputs was accessed before checking that we got any hits.
I spent some time on this before I found out what was wrong, it would be got to get the correct error message.

Thanks!
Michael

Copy link
Collaborator

@tombertrand tombertrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, nice find! This change was made when I've adde the possibility to initiate Typeahead on a contenteditable html tag 👍

@running-coder running-coder merged commit e1b8948 into running-coder:develop Nov 28, 2018
tombertrand pushed a commit that referenced this pull request Oct 19, 2019
Fixes
- Fix #478 input on Chrome unable to place the cursor
- Fix #458 sorting when display key value is null
- Fix #457 first check that we find an input before accessing found elements
@running-coder running-coder added this to the 2.10.7 milestone Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants