openui5
openui5 copied to clipboard
sap.ui.unified.CalendarAppointment customData is not written to DOM
What is the issue and how can we reproduce it?
Using the following code for a SinglePlanningCalendar:
<appointments>
<unified:CalendarAppointment
title="{Name}
startDate="{
path: 'Start',
type: 'DateTimeOffset',
constraints: {
precision: 7,
v4: true
}
}"
endDate="{
path: 'End',
type: 'DateTimeOffset',
constraints: {
precision: 7,
v4: true
}
}"
>
<unified:customData>
<c:CustomData
key="asd"
value="qwe"
writeToDom="true"
/>
</unified:customData>
</unified:CalendarAppointment>
</appointments>
Error:
The DOM does not contain any data-asd="qwe".
Expected behavior:
Every div for a appointment 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 DINC0460894. The status of the issue will be updated here in GitHub.
Regards, Stoyan
Hello @daletman,
The issue is fixed and will be available in 1.139 UI5 version.
Regards, Georgi