Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove checkbox when integrating into Sonata #19

Open
antonioberben opened this issue Apr 14, 2014 · 0 comments
Open

Remove checkbox when integrating into Sonata #19

antonioberben opened this issue Apr 14, 2014 · 0 comments

Comments

@antonioberben
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant