Skip to content

Commit 95fd452

Browse files
committed
Merge branch 'patch-2' of git://github.com/dben/angular-schema-form into dben-patch-2
2 parents c1d9da9 + 8ede6ef commit 95fd452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/decorators.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ angular.module('schemaForm').provider('schemaFormDecorators',
210210
'ng-if',
211211
ngIf ?
212212
'(' + ngIf +
213-
') || (evalExpr(form.condition,{ model: model, "arrayIndex": arrayIndex }))'
214-
: 'evalExpr(form.condition,{ model: model, "arrayIndex": arrayIndex })'
213+
') || (evalExpr(form.condition,{ model: model, "arrayIndex": arrayIndex, "modelValue": model["' + form.key.join('"]["') + '"] }))'
214+
: 'evalExpr(form.condition,{ model: model, "arrayIndex": arrayIndex, "modelValue": model["' + form.key.join('"]["') + '"] })'
215215
);
216216
});
217217
}

0 commit comments

Comments
 (0)