Expected behavior
I expect the file to be accepted and saved
Actual behavior
An error occurs The Thumbnail must be a file of type: jpg, gif and the image is not saved. Removing the validate line is needed for the image to upload - which is of no use.
Environment details (please complete the following information):
Describe the bug Validation for filename extensions for type
assets
don't seem to workTo Reproduce
Add a
validate
line to an assets field, i.e.Select a valid file, i.e. ending in
.jpg
Submit the Workshop form
Expected behavior I expect the file to be accepted and saved
Actual behavior An error occurs
The Thumbnail must be a file of type: jpg, gif
and the image is not saved. Removing thevalidate
line is needed for the image to upload - which is of no use.Environment details (please complete the following information):