Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Accordion: (data-)parent not working for accordion-groups #459

Open
@r0b-

Description

@r0b-

Hi,
I'd like to use an accordion that allows just one opened accordiongroup at a time.
From the docs I see that this should be done with the parent-property.
If I set this to the id of the enclosing accordion the generated markup seems to be ok ( (even with an prepended '#') but no exclusive-toggling effect.

I tested with a slightly modified xml taken form the Accordion.class javadoc:

 <b:Accordion ui:field="a1">
      <b:AccordionGroup heading="One" parent="a1">
          <b:Paragraph>one</b:Paragraph>          
      </b:AccordionGroup>

      <b:AccordionGroup heading="With Icon" icon="GITHUB" parent="a1">
          <b:Paragraph>Icon style</b:Paragraph>
      </b:AccordionGroup>

      <b:AccordionGroup heading="With Custom Icon" parent="a1">
          <b:Paragraph>Custom Icon Style</b:Paragraph>
      </b:AccordionGroup>
  </b:Accordion>

Someone got this working? Did I miss sth?
Thanks in advance
Rob

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions