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 type checking for str parameter in inputChangeHandler #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlexBelov
Copy link

Add type checking for str parameter in inputChangeHandler to prevent function from crashing if undefined was sent

bug
this error rise when I type something in input and then delete everything using backspace.
my implementation
I'm not sure that it's not my bad, but anyway with additional checking it became more reliable =)
Can't catch the same bug in examples, even with remote data.
Tests are ok

to prevent function from crashing if undefined was sent
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.

1 participant