Menu

#9 Add option to collapse/expand field-group instead of default behavior

v1.0_(example)
open
nobody
None
1
2013-03-22
2013-02-25
No

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.

1 Attachments

Discussion

  • David E. Jones

    David E. Jones - 2013-02-27

    Ticket moved from /p/moqui/bugs/21/

     
  • David E. Jones

    David E. Jones - 2013-03-22

    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.

     

Log in to post a comment.