Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Transfer 组件的左侧面板除去被禁用项目外其他项目都被选中时候,没有显示取消全选 #2575

Open
1 task done
YyumeiZhang opened this issue Nov 14, 2024 · 0 comments · May be fixed by #2574
Assignees

Comments

@YyumeiZhang
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Transfer

Semi Version

2.64.0

Current Behavior

image

Expected Behavior

No response

Steps To Reproduce

复制复现代码到官网

ReproducibleCode

() => {
    const data = Array.from({ length: 5 }, (v, i) => {
        return {
            label: `选项名称 ${i}`,
            value: i,
            disabled: i ===3 ? true : false,
            key: i,
        };
    });
    return (
        <Transfer
            style={{ width: 568, height: 416 }}
            dataSource={data}
            onChange={(values, items) => console.log(values, items)}
        />
    );
};

Environment

- OS:
- browser:

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant