-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Executes $apply() only if doesn't have another in execution (blur)
Some components, like datepickers or combo boxes or autocompletes, has $apply() in her codes to "apply" something. Like this, sometimes "angular-validation" needs apply something too. When "angular-validation" applies something to some component and that component executes $apply() before the validation, an error is displayed in console: "$apply already in progress". To correct this, just verify if $apply() is in progress. If it isn't in progress execute him. If it is in progress, doesn't execute him.
- Loading branch information
Murillo Ivamoto
committed
Feb 6, 2017
1 parent
6163422
commit 402752c
Showing
3 changed files
with
15 additions
and
5 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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