Skip to content

Commit

Permalink
Fix deleting "static" chars for react text mask (#230, #483, #778 etc…
Browse files Browse the repository at this point in the history
….) (#801)

* Fix deleting "static" chars for react text input (#230, #483, #778 etc.)

* Remove unnecessary `componenDidUpdate`

* Add PureComponent for unnecessary re-render

* Add test for correct deleting "static" chars

* Update dist for reactTextMask

* Add info about known issue to react-text-mask documentation

* Update section "Known issue" in documentation
  • Loading branch information
DTupalov authored and lozjackson committed Jun 14, 2018
1 parent cc16d25 commit 5a6f7b5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 6 deletions.
4 changes: 4 additions & 0 deletions react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ const MyStyledInput = styled.input`
`;
```

## Known issue

[#804](https://github.com/text-mask/text-mask/issues/804) In some cases different values in `event.target.value` and in `input` element

## Contributing

We would love some contributions! Check out [this document](https://github.com/text-mask/text-mask/blob/master/howToContribute.md#readme) to get started.

0 comments on commit 5a6f7b5

Please sign in to comment.