nice solution, thx m8
$documents = new Documents();
$form = $this
->add(‘documents’, ‘file’, [
‘required’ => false,
‘multiple’ => true
* @Assert\Count(max = “3”)
* @var UploadedFile
// set and get methods for $files
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.