SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 260 forks source link

Extending component properties #8083

Closed vasicvuk closed 8 months ago

vasicvuk commented 8 months ago

Issue Description

I was wondering how to add properties to an existing component. I took a look at the example I found here. https://github.com/SAP/ui5-webcomponents/issues/1878

But when I try to add a new property with the @property attribute, it always has a value of undefined. Probably I am doing something wrong, i also tried to edit the static metadata method, but it returns these attributes just fine.

Additionally, I verified that properties returned from metadata contain added properties, but I cannot access the value it is always undefined.

Issue Type

vasicvuk commented 8 months ago

My error, nevermind. Closing