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

Commit 0ad7cb9

Browse files
icfantvwesleycho
authored andcommitted
fix(datepicker): add custom class to year picker
* add missing custom class to year picker Closes #4558 Fixes #4546
1 parent 3272960 commit 0ad7cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/datepicker/year.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="min-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)