[framework]: declare
when overriding a property does not change the property type
#11041
Open
1 task done
Labels
Bug Description
We are extending the ListItem in MenuItem and we also override a property called accessibiltiyAttributes.
We create new type that is with
and we declare it like:
We have an issue that when application developers are using the MenuItem and giving role, validators underline with error, because in our case, the documentation is not updated and the property type is still
ListItemAccessibilityAttributes
.Affected Component
No response
Expected Behaviour
A property type can be changed to a type that contains the parent type but adds more properties when extending component.
Isolated Example
No response
Steps to Reproduce
...
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
latest
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
SAP
Declaration
The text was updated successfully, but these errors were encountered: