From 76bc06adf97c61faa736af0dead8e64cc590b1d2 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Sat, 1 Jun 2013 17:40:41 -0700 Subject: [PATCH] specify the updateIndices option for refs created by component bindings --- lib/View.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/View.js b/lib/View.js index 3c004de84..0f57e4bfb 100644 --- a/lib/View.js +++ b/lib/View.js @@ -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);