Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Add type checking for str parameter in inputChangeHandler#414

Open
AlexBelov wants to merge 1 commit into
ghiden:masterfrom
AlexBelov:master
Open

Add type checking for str parameter in inputChangeHandler#414
AlexBelov wants to merge 1 commit into
ghiden:masterfrom
AlexBelov:master

Conversation

@AlexBelov

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant