You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i validate a fileupload for beeing an image or a specific mime-type i encountered a problem when re-editing the record.
if the validation is set to "always" it fails when simply re-editing the record (e.g. just to change another field) - the user would have to delete and re-upload the file to pass validation even if an image was already uploaded.
if the mime/image-validation is hooked to "fresh" it works fine on creation (as expected) but one could upload any file when re-editing the record.
is there any "standard" way around this aside from a custom validator?
anyway ... it would be great if an image/file validation would pass if no file was uploaded but (a valid one) is already on the server.
thanks
The text was updated successfully, but these errors were encountered:
if i validate a fileupload for beeing an image or a specific mime-type i encountered a problem when re-editing the record.
if the validation is set to "always" it fails when simply re-editing the record (e.g. just to change another field) - the user would have to delete and re-upload the file to pass validation even if an image was already uploaded.
if the mime/image-validation is hooked to "fresh" it works fine on creation (as expected) but one could upload any file when re-editing the record.
is there any "standard" way around this aside from a custom validator?
anyway ... it would be great if an image/file validation would pass if no file was uploaded but (a valid one) is already on the server.
thanks
The text was updated successfully, but these errors were encountered: