Search code examples
kendo-uikendo-ui-angular2

Unable to remove 'Today' link from Kendo datepicker angular


I want to remove 'Today' link from top of the kendo date picker. It should restrict the user to select only Year and not to select Today's date.

<kendo-datepicker formControlName="bg" [bottomView]="'decade'" [topView]="'decade'" [format]="'dd MMM yyyy'">

Kendo datepicker


Solution

  • There is no dedicated built-in option to set the visibility of the "Today" UI, so hiding it through CSS is the most straight-forward option, e.g.:

    https://stackblitz.com/edit/angular-zujtgh?file=src%2Fapp%2Fapp.component.ts