Skip to content

Remove checkbox when integrating into Sonata #19

Open

Description

@antonioberben

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions