We have a screen were we switch an entity in the InstanceContainer
and noticed, that image component doesn’t change.
We found that the ItemPropertyChangeEvent
listener that is added by the ContainerValueSource
fires a ValueChangeEvent
but the ItemChangeEvent
listener doesn’t.
We use Jmix 2.2.1 and defined the image
component in the descriptor and set dataContainer
and property
according.
As a workaround we now set the item to null
before we set the new item.
Are there any side effects that we have to be aware of?