Tencent / Tencent/tdesign-react
[Table] 表格中有多选框时,多选框那一列的checkProps的defaultChecked设置无效
Open
Nobody has claimed this yet.
💭 discussion
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
tdesign-react 版本
1.9.3
重现链接
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-f5v42m
重现步骤
可以直接看到设置defaultChecked: true,但是并没有起到作用
期望结果
右边应该默认勾选
实际结果
右边没有默认勾选
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox reproduction and inspect the Table checkbox-column handling for checkProps.defaultChecked. Confirm the expected behavior by making the right-hand checkbox checked on initial render, then verify the reproduction against tdesign-react 1.9.3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100