Skip to content

When the user erase the text onChange is not trigger #49

@juancjara

Description

@juancjara

Scenario

User types one letter then he deletes (backspace) the letter

Expected Behavior

onChange prop handler being called with empty value

Actual Behavior

onChange is not being called because of the guard this.state.value !== value

Posible solution

Add and extra condition to trigger onChange prop when the value is empty

I can work on it if you want to

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions