apostrophecms / apostrophecms/apostrophe

3.0: [UI] Multi select doesn't respect disabled checkboxes

Open
#3,137 1 comment 0 reactions 0 assignees View on GitHub
bug v3
Dominant language
JavaScript
Stars
4.6k
Forks
650
Avg merge
19h 21m
Merged PRs (30d)
23

Description

## To Reproduce
While choosing relation entries in any piece or page, all the `draft` records will have their checkboxes disabled. Clicking on the Select all (the checkbox at the top of the list) will select the draft records anyway.

## Expected behavior
The multi select component should respect the disabled state of the list, no draft (or because of any other reasons disabled checkboxes) should be checked.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue while choosing relation entries in a piece or page, with draft records disabled. Trace the multi-select component's Select all behavior and verify that disabled checkboxes remain unchecked; done when no disabled record is selected, including records disabled for other reasons.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.