Skip to Content

SAPUI5 attachPropertyChange not working when extending from base class


I am trying to manage a model with a state ( a bit like MobX does ) with listeners on the different properties.

I am using sap.ui.model.Model.attachPropertyChange for this.

This function does not seem to work as soon as I am extending objects from a baseclass however.
Any idea on what is wrong here? (the first version is working, the second does not)


Not working:

working.png (26.3 kB)
not-working.png (31.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers