insin / insin/react-maskedinput

Mask doesn't update if value is changed.

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
727
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I have a simple case:
At first, the {value} of my masked input is undefined.
Component then assumes this is starting value and sets it up as such.
However, from this moment onward, masked input will only react to user input, and will ignore any subsequent changes made via altering the value prop.
Is there any way to avoid this behavior, other than hiding the input until value is actually defined (which I can't do for reasons outside this discussion)?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.