What action does your Cancel button perform? It sounds like it using "Close page", but it should be using "Cancel changes" as this will roll back any changes the user may have made.
https://docs.mendix.com/refguide7/action-button/#events-properties
I hope this helps.
Hey Robert,
thank u for your help.
I already tried to use the "Cancel changes" operation within my "Cancel-Button". The problem here is that it will close the "Edit-Page" and then it will show the "View-Page" but all Textbox-Values are empty.
View-Page:
Assuming I have changed the name, but I change my decision and click on the "Cancel" button to go back cancel the change and to go back to "View-Page":
Now we can see that all textboxes are empty.
Thank u Robert!
This was the problem. I was not commited before. Now its commited before i reache the edit page:)
Now it works fine.