How to show only month in bsDatepicker popup instead of date?
There's no need to open an issue here if you want to ask general question, use StackOverflow or Slack instead
Closed as a duplicate of #2627
On View:
bsDatepicker
(onShown)="onOpenCalendar($event)">
On Component:
onOpenCalendar(e) {
if (this.formatoMesAnio) {
e.setViewMode('month');
e.monthSelectHandler = (event: CalendarCellViewModel): void => {
e.value = event.date;
return;
};
}
}
It麓s manually and work for me !!!
Most helpful comment
There's no need to open an issue here if you want to ask general question, use StackOverflow or Slack instead
Closed as a duplicate of #2627