Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(ng-list): remove data bound flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Aug 27, 2012
1 parent bf8ed8a commit fa62ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ');
}

Expand Down

0 comments on commit fa62ea8

Please sign in to comment.