Conversation
Added condition to check $$phase on $rootScope.
|
Are you running into an issue where a Also, this is a discouraged use of source: https://github.com/angular/angular.js/wiki/Anti-Patterns |
|
I have the same issue ( |
|
Generally it is considered safe to do the following: $timeout(() => {
$scope.$apply(() => {
if (!controller.$pristine) {
controller.$setViewValue('');
}
});
}, 0, false);By using |
|
This bug is still causing issues. The modern solution is to simply replace all calls to |
Added condition to check $$phase on $rootScope.