Unable to select multiple checkboxes

Created on 9 March 2022, almost 3 years ago
Updated 26 March 2024, 9 months ago

Problem/Motivation

- Facet of taxonomy terms, block placed on search api page
- unable to select multiple checkboxes from the facet block
- facet block adds disabled class and prevents the user from selecting a second option unless you reset the search

Steps to reproduce

- create facet of taxonomy terms, rendered as checkboxes
- add block to block layout
- choose a view inclusion option and display the block on a search api view page
- select a checkbox
- try to select a second checkbox

Proposed resolution

- remove disabled classes and script?
- add option in facet settings to choose radio buttons or checkboxes (checkboxes are always multiple unlike radio which is one)

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States shevrinr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy trickfun

    I have the same issue.
    when i select an option, all options will disabled. i can't check and uncheck anything.

    this behavior happens when i use facet block. with the original facet block it works correctly.

  • 🇺🇦Ukraine mero.S

    Facet fields are locked when ajax is used.
    All fields are available, but after the first use and refreshing the results, all fields are locked. I think this is due to the fact that there was a problem with ajax when the user selected the value of another field immediately without waiting for the changed value of the first field to load. And that's why disabled was added for all fields until the ajax works completely. But because of this another strange problem arose - after the first modified field is processed, the result is updated with ajax, but the fields do not stop being disabled.

Production build 0.71.5 2024