-
-
Notifications
You must be signed in to change notification settings - Fork 48.8k
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: Form support scrollToFirstError #21462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests to make sure this change works as expected?
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 cd0fa52:
|
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. |
Codecov Report
@@ Coverage Diff @@
## feature #21462 +/- ##
===========================================
+ Coverage 97.79% 97.8% +0.01%
===========================================
Files 302 302
Lines 7026 7026
Branches 1891 1891
===========================================
+ Hits 6871 6872 +1
+ Misses 155 154 -1
Continue to review full report at Codecov.
|
文档需要补充一下。 |
b2e95c2
to
645256d
Compare
…design into form-auto-scroll
🤔 This is a ...
🔗 Related issue link
resolve #21442
💡 Background and solution
📝 Changelog
scrollToFirstError
to simplify submit scroll logic.scrollToFirstError
属性以简化提交表单滚动到错误字段的编码量。☑️ Self Check before Merge
View rendered components/form/demo/register.md