2

I've been trying to do something relatively simple but that does not work.

I want to be able to collapse groups in sonata to enhance the user's experience.

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

This is based on the Sonata documentation.

Pretty simple but i can't see why it does not work. Does array('collapsed' => true) is not enough?

Is it an issue?

Brieuc
  • 3,994
  • 9
  • 37
  • 70

1 Answers1

3

The collapsed 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

HypeR
  • 2,186
  • 16
  • 22