I have created a custom form element (FileUpload). In this FileUpload I assigned some validation (content type, file size). If I enable the validation and push the apply button, the changes are gone after the submit.
How can we solve this kind of issue?