Attribute AutoNumber

Good morning everyone, I would like to ask for help on the following question: When I create an entity with an autonumber attribute and go to the user's page to create a new record, the moment I open the popup for inclusion of a new record the field that receives the attribute with autonumber already shows the initial value but even if I cancel the inclusion of the record without saving when I open the inclusion screen again the self-numbering follows the count, that is, even without saving the previous record the numbering continues how can I prevent this? I want the autonumber to only increment when I save the record to the database.
1 answers

This is not possible with the default Mendix autonumber. You would need to build your own logic for this based on event handlers.