Accordion Multiselect is not working

Created on 17 July 2023, over 1 year ago
Updated 28 August 2023, about 1 year ago

In cke5 accordion multiselect is not working. We are using Drupal 9.5.10 and PHP 8.1

Create an accordion in cke5 and check the multi select checkbox. When the node is saved the accordions work like normal accordions and multi select feature is not working

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @irsar
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Just tested and multiselect is working for me.

    Could you provide more detail.

  • When we click an accordion, the open accordion closes and the new one opens instead of having multiple accordions open. We are using USWDS v2. And looks like data-allow-multiple is being used in the code and USWDS version 2 used aria-multiselectable="true". But I am not sure if that's why multiselect is not working for us. Here is our HTML code and it looks right as per the code component in USWDS,

    <div class="usa-accordion  usa-accordion--bordered  usa-accordion--multiselectable" data-allow-multiple>
          <h4 class="usa-accordion__heading">
          <button type="button" class="usa-accordion__button" aria-controls="0" aria-expanded="false">
            Test Accordion1
          </button>
        </h4>
        <div id="0" class="usa-accordion__content usa-prose" hidden="">
          <p>
            Test Accordion Content
          </p>
        </div>
          <h4 class="usa-accordion__heading">
          <button type="button" class="usa-accordion__button" aria-expanded="false" aria-controls="1">
            Test Accordion1
          </button>
        </h4>
        <div id="1" class="usa-accordion__content usa-prose" hidden="">
          <p>
            Test Accordion Content
          </p>
        </div>
          <h4 class="usa-accordion__heading">
          <button type="button" class="usa-accordion__button" aria-expanded="false" aria-controls="2">
            Test3
          </button>
        </h4>
        <div id="2" class="usa-accordion__content usa-prose" hidden="">
          <p>
            Test3
          </p>
        </div>
      </div>
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Wonder if it's v2 vs v3 problem now.

  • Status changed to Closed: works as designed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Would test against 1.x branch

    2.x I've primarily been building against 3.x

    According to USWD 2.x is unsupported now https://designsystem.digital.gov/documentation/developers/#long-term-sup...

Production build 0.71.5 2024