mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 22:44:01 +08:00
fix(ng-list): remove data bound flicker
This commit is contained in:
@@ -1219,7 +1219,7 @@ var ngListDirective = function() {
|
||||
|
||||
ctrl.$parsers.push(parse);
|
||||
ctrl.$formatters.push(function(value) {
|
||||
if (isArray(value) && !equals(parse(ctrl.$viewValue), value)) {
|
||||
if (isArray(value)) {
|
||||
return value.join(', ');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user