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
feat: formControl add valuePropName support #2461
base: main
Are you sure you want to change the base?
Conversation
@myNameIsDu is attempting to deploy a commit to the rsuite Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 22d6f24:
|
Codecov Report
@@ Coverage Diff @@
## main #2461 +/- ##
==========================================
- Coverage 85.69% 85.68% -0.01%
==========================================
Files 275 275
Lines 8666 8668 +2
Branches 2438 2439 +1
==========================================
+ Hits 7426 7427 +1
Misses 653 653
- Partials 587 588 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @myNameIsDu |
Here's an example The value of the Toggle component is actually checked,If I use it in a form, I have to wrap a layer, Others, such as Checkbox Component |
@myNameIsDu |
Yeah,I think this is a very friendly prop for me,It can help me write lesser template code, And i think if one person knows how to wrap Toggle component, He must understand what this prop is doing |
2ba99b0
to
b0b5620
Compare
b0b5620
to
8ba9c8e
Compare
I don't think a custom value prop is key to this |
Yeah, if we can handle it internally that's the perfect situation |
formControl add valuePropName support