Skip to content

Commit

Permalink
specify the updateIndices option for refs created by component bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
nateps committed Jun 2, 2013
1 parent dc93ddd commit 76bc06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/View.js
Expand Up @@ -677,7 +677,7 @@ function createComponent(view, model, Component, scope, ctx, macroCtx) {
if (value && value.$matchName) {
path = ctxPath(view, ctx, value.$matchName);
if (value.$bound) {
silentModel.ref(prefix + key, path, null, true);
silentModel.ref(prefix + key, path, {updateIndices: true});
continue;
}
value = dataValue(view, ctx, model, path);
Expand Down

0 comments on commit 76bc06a

Please sign in to comment.