openui5
openui5 copied to clipboard
sap.ui.unified.DateTypeRange customData is not written to DOM
What is the issue and how can we reproduce it?
Using the following code in XML-View
<u:Calendar specialDates="{model>/calendarSpecialDates}">
<u:specialDates>
<u:DateTypeRange
startDate="{model>startDate}"
type="{model>type}"
>
<u:customData>
<c:CustomData
key="asd"
value="qwe"
writeToDom="true"
/>
</u:customData>
</u:DateTypeRange>
</u:specialDates>
</u:Calendar>
Error:
The DOM does not contain any data-asd="qwe".
Expected behavior:
Every div for a special date should contain data-asd="qwe". It's a valid aggregation: https://ui5.sap.com/1.134.0/#/api/sap.ui.unified.DateTypeRange%23aggregations
Which OpenUI5 version is your project targeting?
1.134
Is the issue device- or browser-specific?
No response
Confirmation
- [x] I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
- [x] I am not disclosing any internal or sensitive information.
Hello @daletman
Thank you for sharing this finding. I've created an internal incident DINC0460830. The status of the issue will be updated here in GitHub.
Regards, Stoyan
Dear @daletman,
The issue is fixed and will be available in 1.139 UI5 version.
Regards, Georgi