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

Does not call onSuggestSelect when user input is empty #383

Closed
wants to merge 1 commit into from
Closed

Does not call onSuggestSelect when user input is empty #383

wants to merge 1 commit into from

Conversation

jekku
Copy link

@jekku jekku commented Apr 2, 2018

Description

Fixes a bug where the data passed to onSuggestSelect() is undefined when no user input.
It is also being invoked when the intention is to clear the input box.

Solves #373

Checklist

  • All tests passing
  • Created tests which fail without the change (if possible) Not applicable as I am removing an unneeded test on the changes
  • Extended the README / documentation, if necessary Not necessary
  • Commits and PR follow conventions

Copy link
Contributor

@ro-ka ro-ka left a comment

Choose a reason for hiding this comment

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

The code was introduced with PR #350. We need to make sure to keep the intended behaviour.

@jekku
Copy link
Author

jekku commented May 22, 2018

lol

@jekku jekku closed this May 22, 2018
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.

None yet

2 participants