Skip to Content
0

SAPUI5 attachPropertyChange not working when extending from base class

Apr 11 at 12:49 PM

39

avatar image
Former Member

Hi,

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)


Working:


Not working:

working.png (26.3 kB)
not-working.png (31.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers