Symfony2, Sonata: Collapsed group

I'm trying to do something relatively simple, but it doesn't work.

I want to be able to collapse groups in a sonata to improve the user experience.

->with('MyGroup', array('collapsed' => true))
    -add('MyField')
->end();

      

This is based on Sonata documentation.

Pretty simple, but I don't understand why it doesn't work. Is the array ('collapsed' => true) not enough?

This is problem?

+1


source to share


1 answer


The dropped option seems to have been removed in the latest version of Sonata:



Changelog 2.2: https://github.com/sonata-project/SonataAdminBundle/blob/master/UPGRADE-2.2.md

+2


source







All Articles