kendo-uitypescript2.0kendo-ui-angular2kendo-datepickerkendo-angular-ui

How to make a kendo-angular-datepicker to show year only


How to configure the kendo-angular date picker to show year only on selecting.


Solution

  • I have tried and got the below solution, so thought of posting it if in case anyone needs:

    <kendo-datepicker
          [min]="min"
          [max]="max"
          [bottomView]="'year'"
          [format]="'yyyy'"
          [(value)]="value"
      ></kendo-datepicker>