-
Notifications
You must be signed in to change notification settings - Fork 262
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): Form.Item 增加 align 属性 #2492
Conversation
Walkthrough此次更改为 Changes
Possibly related issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
align 的类型可以指定明确一些,string 类型,不容易知道具体应该如何设置。
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2492 +/- ##
==========================================
+ Coverage 83.01% 83.05% +0.03%
==========================================
Files 217 217
Lines 17744 17746 +2
Branches 2546 2549 +3
==========================================
+ Hits 14731 14739 +8
+ Misses 3008 3002 -6
Partials 5 5 ☔ View full report in Codecov by Sentry. |
以及另外两个语言的文档需要补充下,保持一致 |
我是看到 Cell 组件中 |
ts类型确实写的是string,只是cell文档中有所说明。我补充下ts |
🤔 这个变动的性质是?
🔗 相关 Issue
#2491
💡 需求背景和解决方案
方便 Form.Item 修改对齐方式
☑️ 请求合并前的自查清单
Summary by CodeRabbit
新功能
align
,允许用户配置表单项的对齐方式,从而增强布局和样式的灵活性。文档
align
属性的详细说明,帮助开发者更好地理解和使用该功能。