Skip to content

Commit

Permalink
version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sanniassin authored and sanniassin committed Jul 4, 2017
1 parent 6fc8d5a commit 00e3618
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/react-input-mask.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ var _initialiseProps = function _initialiseProps() {
_this2.isWindowsPhoneBrowser = isWindowsPhoneBrowser();
_this2.isAndroidFirefox = isAndroidFirefox();

if (_this2.getInputValue() !== _this2.value) {
if (_this2.maskOptions.mask && _this2.getInputValue() !== _this2.value) {
_this2.setInputValue(_this2.value);
}
};
Expand Down Expand Up @@ -423,7 +423,7 @@ var _initialiseProps = function _initialiseProps() {
};

this.componentDidUpdate = function () {
if (_this2.getInputValue() !== _this2.value) {
if (_this2.maskOptions.mask && _this2.getInputValue() !== _this2.value) {
_this2.setInputValue(_this2.value);
}
};
Expand Down
Loading

0 comments on commit 00e3618

Please sign in to comment.