I am testing the calendar list view mode. When I set the default mode to 'list', the view doesn't load. When I navigate to another mode such as year and back to list mode, the list loads fine. It only fails to load when set at the start. This error only happens with list as the other modes work fine.
Kindly assist.
modes : {
list : true
}
ngAfterViewInit(): void {
let calendar = this.calendarComponent.instance;
calendar.readOnly = true;
let crudConf:any = calendar.crudManager.config;
crudConf.transport.load.headers.Authorization = "Bearer " + this._const.access_token;
calendar.mode = 'list'; // Doesn't work
//calendar.mode = 'year'; // WORKS FINE
}
I simplified the code and am using configuration. Using the same code and config, in Angular the list loads at the start but on Ionic it doesn't. On ionic switching away from list and back to list loads the list fine. The issue is is only on load.
It appears that the Ionic framework may not be properly configured on your system. Would it be possible for a member of the Ionic team to assist with this, please? Thanks