corejavascript / corejavascript/typeahead.js
Calling "setCursor" results in error "invalid source"
Open
- Dominant language
- JavaScript
- Stars
- 968
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to programatically set the cursor, but if I am calling below method, I get an error `Invalid source`. As far as I can tell, I am using the API correctly:
input.typeahead('setCursor', $('.tt-dataset .tt-suggestion:first'))
How can I use the function correctly?
Contributor guide
Assessment
This issue has not been assessed yet.