IphpFileStoreBundle icon indicating copy to clipboard operation
IphpFileStoreBundle copied to clipboard

Remove checkbox when integrating into Sonata

Open antonioberben opened this issue 11 years ago • 0 comments

I couldn't manage to get rid of the checkbox when I use this bundle with Sonata as part of child form. Being specific, if you want to remove that checkbox, usually you add sth like:

->add('logo', 'sonata_type_admin', array('delete' => false, 'label' => false, 'btn_add' => false))

in the parent form. And then, in the inner form, the one specific for the image:

->add('photo', 'iphp_file')

But that doesn't work. Any idea? Thanks

antonioberben avatar Apr 14 '14 21:04 antonioberben