VisActor / VisActor/VTable

[Bug] react-vtable :checkbox disable状态下,全选还能选中

Open
#3,739 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

^1.17.6

Link to Minimal Reproduction

none

Steps to Reproduce

{
field: 'check',
title: '',
width: 60,
headerType: 'checkbox',
cellType: 'checkbox',
headerStyle: {
textAlign: 'center',
},
style: {
textAlign: 'center',
},
disable: (args) => {
const { col, row } = args;
return row !== 0 && row % 2 === 0;
},
},

Current Behavior

checkbox disable状态下,全选还能选中

Expected Behavior

checkbox disable状态下,全选不选中disable的checkbox

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start from the checkbox column configuration in the report and trace the header checkbox's select-all behavior when disable returns true for rows; reproduce the case using the supplied configuration. Done means disabled checkboxes remain unselected when selecting all, with coverage added if an existing checkbox test entry point is found.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.