How do I correctly configure file field validation? #427
-
|
I have a fresh installation of Statamic and Peak set up to troubleshoot an issue I'm encountering with file (and asset) field types. They fail to validate properly, even when a file is selected.
Is there anything specific I should do to ensure the file is recognised? The file does upload if all validation is removed. TIA, and I appreciate the starter kit! Environment Cache Drivers Storage Statamic Statamic Addons |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
This is not really a Peak thing as Peak doesn't handle the validation of files. It's usually a Statamic/Precognition thing. But what if you remove the Also there seems to be an issue with validation for the files fieldtype. See this one for example: #426 |
Beta Was this translation helpful? Give feedback.
This is not really a Peak thing as Peak doesn't handle the validation of files. It's usually a Statamic/Precognition thing. But what if you remove the
filevalidation (I'm not sure what that one does tbh).Also there seems to be an issue with validation for the files fieldtype. See this one for example: #426