This repository has been archived by the owner on May 5, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mask): NgModelController.$viewValue always properly set
Uninitializing mask now restores the model value to the input. IinitializeElement() now uses $modelValue instead of $viewValue for more accurate/consistent behavior. Fix bug with value parser was setting for $viewValue. In short, $viewValue will never be set to an empty mask. And $modelValue is now King Hippo.
- Loading branch information
1 parent
d3856e9
commit ed41c89
Showing
2 changed files
with
72 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters