openui5
openui5 copied to clipboard
Calendar Special Dates Not showing for previous or next month
OpenUI5 version: 1.103 Browser/version (+device/version): Chrome Version 103.0.5060.11
Any other tested browsers/devices(OK/FAIL): FAILE
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- Add calendar element to page
- add special date to calendar, using method addSpecialDate. Set start date to 28th June 2022
- View the Calendar for the month of July 2022
- The special date on 28th June is not shown.
What is the expected result? Special date on 28th June should be shown when viewing the month of July2022 What happens instead? Special date is not shown
Any other information? (attach screenshot if possible) This feature was working for version 1.88
Hello @hendrysap, Thank you for sharing this finding. Can you provide us with isolated scenarios where this problem is reproduced? I've tried and can't reproduce the problem.
Regards, Todor
Hi Todor, This is how you can simulate. Get a reference to a sap.ui.unified.Calendar object, and use the addSpecialDate method to add a date for 28th June 2022. Regards, Hendry
Hello @hendrysap , Thank you for sharing this finding. I've created an internal incident 2280170066. The status of the issue will be updated here in GitHub. All the best, Florian
Hi @hendrysap ,
The reported behavior is expected and this is introduced in version 1.93 - the special days as well as weekend days are not "whited" (not colored or marked) in the days outside the current month.
Best Regards, Nikolay Hristov SAPUI5 SAP Development Support