I've come across a few situations where it would be super handy to have the option to have a min_files minimum configuration as well, depending on the site's design.
This is often the ideal CMS experience for editors in many situations I've come across recently — a single assets fieldtype can be utilised in Statamic (so clean), and we can dynamically create the layouts in the template based on the order or images within the fieldtype, rather than using multiple assets fieldtypes for different images in the layout.
Happy to expound further on this, if it isn't already on your radar!
Currently there is a
max_files
configuration option for the assets fieldtype: https://statamic.dev/fieldtypes/assets.I've come across a few situations where it would be super handy to have the option to have a
min_files
minimum configuration as well, depending on the site's design.This is often the ideal CMS experience for editors in many situations I've come across recently — a single assets fieldtype can be utilised in Statamic (so clean), and we can dynamically create the layouts in the template based on the order or images within the fieldtype, rather than using multiple assets fieldtypes for different images in the layout.
Happy to expound further on this, if it isn't already on your radar!
With thanks, Andrew 👋