Skip to content

Commit a2c4907

Browse files
committed
Set arrayIndex in tabarray type
1 parent ac29fb9 commit a2c4907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/decorators/bootstrap/tabarray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
ng-repeat="item in modelArray track by $index"
2626
ng-show="selected.tab === $index"
2727
ng-class="{active: selected.tab === $index}">
28-
<sf-decorator form="copyWithIndex($index)"></sf-decorator>
28+
<sf-decorator ng-init="arrayIndex = $index" form="copyWithIndex($index)"></sf-decorator>
2929

3030

3131
<button ng-hide="form.readonly"

0 commit comments

Comments
 (0)