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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional callback for after autocomplete (with the enter key) #5

Closed
therebelrobot opened this issue Aug 31, 2015 · 1 comment
Closed

Comments

@therebelrobot
Copy link
Collaborator

I need a way of triggering additional code once enter key is pressed for autocomplete (specifically I need to update the model). This could be added to the opts object discussed in #2. Will look into an update.

therebelrobot added a commit to therebelrobot/type-ahead.js that referenced this issue Aug 31, 2015
therebelrobot added a commit to therebelrobot/type-ahead.js that referenced this issue Aug 31, 2015
therebelrobot added a commit to therebelrobot/type-ahead.js that referenced this issue Sep 1, 2015
Merge branch 'master' into feature/5-callback-on-update
@therebelrobot
Copy link
Collaborator Author

Looks like I missed where this was needed in TypeAheadList.prototype.handleMouseDown. Adding that in now.

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

No branches or pull requests

2 participants