ant-design / ant-design/pro-components

🐛[BUG] CheckCard 'defaultValue' doesnt work in form

Open
#8,636 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

Reproduction here (click on submit):

https://codesandbox.io/p/sandbox/stupefied-tamas-7f5jyx

When using defaultValue on CheckCard.Group, the value is not set on the form

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and click Submit to observe how CheckCard.Group's defaultValue interacts with the form. Trace the CheckCard.Group form integration in the relevant component entry point. Done means the default value is included when the form is submitted, with the existing reproduction working as expected.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.