-
-
Notifications
You must be signed in to change notification settings - Fork 49k
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
Form.Item组件 labelCol和wrapperCol配置在移动端无效,label和输入框会各占一行 #21858
Comments
It's by design. #20836 cc @shaodahong |
Yep, we made label and input item width 100% when screen width less than 575px |
Oh, how sad I am!The Form my component USES is encapsulated, and sometimes a line needs to display two input fields or something like that.The rc version is fine, the official version is broken, you are making the components too inflexible.But I've changed my style. |
I'm sorry about this. If we change display style, It's a breaking change, we need to be consistent with v3 |
no. i like v4 |
你这样让我怎么在一行即显示标签又显示输入框? |
最好有设置可自己决定是否在575以下这样处理,有时是需要同行显示 |
Reproduction link
https://ant.design/components/form-cn/#API
Steps to reproduce
What is expected?
在小屏幕下这个布局配置也能用
What is actually happening?
.
The text was updated successfully, but these errors were encountered: