Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit eb3b32e

Browse files
sonofbjornwesleycho
authored andcommitted
fix(datepicker): Apply custom class to month
Closes #3863
1 parent 44e0642 commit eb3b32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/datepicker/month.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</thead>
99
<tbody>
1010
<tr ng-repeat="row in rows track by $index">
11-
<td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}">
11+
<td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">
1212
<button type="button" style="width:100%;" class="btn btn-default" ng-class="{'btn-info': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{'text-info': dt.current}">{{::dt.label}}</span></button>
1313
</td>
1414
</tr>

0 commit comments

Comments
 (0)