take picture

Hello, I'm still new to native mendix, I want to ask how to prevent image data from being saved when I click the back button. when I click upload an image when the image appears on the form when I click it exits the form without saving the image it remains saved please help
1 answers

In Mendix if any entity generalized with an Image or file document will get committed to the database if the Image or file is uploaded.

You may need to Delete or rollback on cancel or back logic.