Skip to Content
-1
May 29, 2020 at 09:29 PM

Custom control getValue method error - data type 'text' could not be found

206 Views

Hello experts,

I have created a custom control by extending sap.ui.core.Control and in the rendered method, I am calling the oControl.getValue() method to get the value on the control and decide the color.


In version 1.38 of UI5, there was no error, however after we upgraded to version 1.71, the method oControl.getValue() returns a value but also gives an error - 'data type 'text' could not be found'. Though this does not create any other inconsistency, there are a lot of errors on the console.


Any insights?

Thanks for your help.

Charles

Attachments

ddjsm.png (11.6 kB)
p57wl.png (13.0 kB)
89duk.png (15.1 kB)