mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 23:34:42 +00:00
fix(ng-list): remove data bound flicker
This commit is contained in:
parent
bf8ed8a532
commit
fa62ea810f
1 changed files with 1 additions and 1 deletions
|
|
@ -1219,7 +1219,7 @@ var ngListDirective = function() {
|
||||||
|
|
||||||
ctrl.$parsers.push(parse);
|
ctrl.$parsers.push(parse);
|
||||||
ctrl.$formatters.push(function(value) {
|
ctrl.$formatters.push(function(value) {
|
||||||
if (isArray(value) && !equals(parse(ctrl.$viewValue), value)) {
|
if (isArray(value)) {
|
||||||
return value.join(', ');
|
return value.join(', ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue