Parent typeFormType
ClassFileType



Say you have this form definition:

1
2
3
4
use Symfony\Component\Form\Extension\Core\Type\FileType;
// ...

$builder->add('attachment', FileType::class);

Powered by Froala Editor