Rollback and required field

When having a form in which the first field is set to required in the form properties and having a custom Cancel button I have to press two times on cancel. When the form is opened the mouse-pointed is set in the first field which is a required field. When I press directly on the custom Cancel button the error is visable that the field is required. Pressing a second time on the custom Cancel button the changes are rolled back and the form is closed. It works alright when the first field in the form is not a required field set by the form properties.
1 answers

bug report