Hi,
For cuba standard editor, when user click “cancel” and there are value changes of components have db property related , there will be warning that “data not saved”.
I have a json DB type which mapped to String type in the entity, and there are components related to each json key, which controlled by my code.
So when user click “cancel” , and one of the json key components has value changes, screen can’t know this and close without warning.
Is there some simpler way to make screen aware of the changes? I am thinking to add listeners for each components to mark the changes, but seems not smart。 Is there any smart way?