sonata-project/SonataDoctrineORMAdminBundle — Issue #34: not working add buttons when using sonata_type_collection
Author: arnaugm
Created: 2012-01-18 18:22:30+00:00
State: open

I have a field representing a One-to-many relation. In the configureFormFields function I have it defined lilke this (as explained in the documentation):

->add('groups', 'sonata_type_collection', array(), array(
'edit' => 'inline',
'inline' => 'standard',
))

In the corresponding field I see a green plus button but a click on it does nothing.

If I change the edit value to standard, then I can click the button an the popup appears, and I can create a new element for the relation. I keep on seeing only the green plus button. If I updated, the relation is saved, but then the edit page of this element appears without styles.

Why I can't see the selection box?