About Group Items

Support General About Group Items

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7804
    dijitalgezgindijitalgezgin
    Participant

    Hello,

    Group items are coming as open. http://prntscr.com/hlkhvf I want it comes to as closed. http://prntscr.com/hlkj0h

    Can you help me?

    Kind regards.

    #7812
    Anh TranAnh Tran
    Keymaster

    Hi,

    Yes, it's possible.

    The collapsible groups have collapsed / expanded state. You can set the default state via 'default_state' => 'collapsed' and make the group saves its state with 'save_sate' => true.

    #7820
    dijitalgezgindijitalgezgin
    Participant

    Hello,
    Thank you!
    Kind regards.

    #7822
    dijitalgezgindijitalgezgin
    Participant

    Hello,
    I made it but it isn't working. Can you check it? http://prntscr.com/hmi75y
    Kind regards.

    #7846
    Anh TranAnh Tran
    Keymaster

    Hi,

    I tried your code and it works to me. Probably we're misunderstanding each other.

    The 'default_state' => 'collapsed' makes sure when you create a new post, the group will be collapsed.

    When you open a group to enter data, its state will be reserved (with 'save_state' => true). When you clone a group, the previous is remained (so if the last clone is expanded, then the new clone is expanded and vice versa).

    Hope that makes sense.

    Best regards,
    Anh

    #7852
    brandoobrandoo
    Participant

    I think that new clone should be open by default. At least after clicking to add more. It's strange that user clicks add more and then he gets collapsed group.

    #7876
    Anh TranAnh Tran
    Keymaster

    Ah, as I explained in the previous reply, the new cloned group will inherit the current state of the last clone. So if the last one is collapsed, users will get a new collapsed one.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.