Add option to collapse/expand field-group instead of default behavior
Brought to you by:
jonesde
Add an option to the field-group that would control its initial behavior.
e.g. collapse="true/false/auto".
Currently, the first field-group is always expanded and subsequent field groups are always collapsed.
We would like an option to pass through an initial state to the underlying jQuery.
Ticket moved from /p/moqui/bugs/21/
This uses the jQueryUI accordion widget:
http://api.jqueryui.com/accordion/
With an accordion you can only have one section open at a time. There is an "active" option in the accordion's API to specify which section should be open initially. Without a major change that's the best we could do.