on 06-30-2021 5:35 PM
When I add a SimplePlanningCalendar-Control to my app, I got the following Error
I added the calendar with a minimal configuration to my App.
When I debug the app I come to the following line inside the SinglePlanningCalendar.js where a key from the given "vView"-Parameter is requested, but the parameter only holds a String.
Anyone else had this problem before and knows why or how to solve this?
Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, I can then only suggest adding this fix to your version:
const defaultSetSelectedView = SinglePlanningCalendar.prototype.setSelectedView;
SinglePlanningCalendar.prototype.setSelectedView = function (vView) {
if (typeof vView === 'string') vView = sap.ui.getCore().byId(vView);
return defaultSetSelectedView.call(this, vView);
}
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.