Files Fieldtype: max_files: 1
doesn't prevent uploading more than 1 file
#11197
Labels
max_files: 1
doesn't prevent uploading more than 1 file
#11197
Bug description
I discovered this while working on statamic/importer#47.
When you have a Files fieldtype, with
max_files: 1
, it allows you to upload multiple files, when it should only let you upload the one.CleanShot.2024-11-29.at.11.42.09.mp4
How to reproduce
max_files: 1
(it's a hidden fieldtype, so you'll need to add it to your blueprint manually):Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: