-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
FormItem colon disappers on responsive layout(grid) #18719
Comments
It is by designed, vertical layout don't have colon. |
1º the repo layout is consider reopening, and if its feature update the DOCS? |
* chore(docs): update for #18719 * better expression
Ok, it can be default behavior. But why I can change it and force vertical form to have colons? I can write this: <Form
layout="vertical"
colon={true}
> And this: <Form.Item
colon={true}
> But no one works as expected. Please, reopen this issue. |
WA: .with-colons.ant-form-vertical .ant-form-item-label > label::after {
&:extend(.ant-form-item-label > label::after);
display: block;
} <Form className="with-colons"> |
Reproduction link
Steps to reproduce
Form items with a responsive layout like this:
Open the running page on a new window and resize until the inputs go below the labels (mobile devices)
When reduce to mobile the inputs break a line down, witch is good, but the ':' colon disappears
What is expected?
on mobile and desktop, only the layout changes, so if the colon=true it should keep the ':' on mobile
What is actually happening?
the ':' disappears
we use antd for 2 years on internal projects
The text was updated successfully, but these errors were encountered: