Hello, i have set a media field with the multiple media option for uploading images from the front-end but i would like to restrict the maximum to 4 images .
i cant seem to find the way to achieve this.
I think you can try dynamic zone approach like me. So, you need to create single component image and wrap to dynamic zone. Then, you can limit the images by limit the dynamic zone components max value.