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

[EnhancedTable] 可选中表格禁用行勾选问题:动态设置选中列时,禁用失效 #822

Closed
AngleMi opened this issue May 20, 2022 · 3 comments
Labels
to be published to be published

Comments

@AngleMi
Copy link

AngleMi commented May 20, 2022

tdesign-vue-next 版本

0.14.2

重现链接

https://stackblitz.com/edit/angular-rsa39y-c3nerh?file=src%2Fdemo.vue

重现步骤

1、 开始colums不添加多选一列
{
colKey: 'row-select',
type: 'multiple',
checkProps: ({ row }) => ({ disabled: row.status !== 0 }),
width: 20,
}
wecom-temp-7b3617c605165c1f62035be1b95462a2
2、 点击进入多选模式按钮之后动态添加多选的一列
wecom-temp-8430e6d3a0e0b674c86acd7369d6170e
3、全选的时候禁用的行也会被选中
wecom-temp-b0f7127922198975db86255c5a3e374c

期望结果

禁用的行不被选中

实际结果

禁用的行被选中了

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @AngleMi,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@chaishi chaishi changed the title [EnhancedTable] 可选中表格禁用行勾选问题 [EnhancedTable] 可选中表格禁用行勾选问题:动态设置选中列时,禁用失效 May 21, 2022
@chaishi
Copy link
Collaborator

chaishi commented May 21, 2022

resolved in #842

2022-05-21.17.41.17.mov

@chaishi chaishi added the to be published to be published label May 21, 2022
@github-actions github-actions bot mentioned this issue May 23, 2022
15 tasks
@PengYYYYY
Copy link
Collaborator

0.15.1 已修复

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

No branches or pull requests

3 participants