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 validation error overlaps TextArea count #29709
Comments
This is not a good way to fix it. There is no good CSS to optimize this scene. I thought of a way, dynamically adjust the style and move the prompt information down. See: https://codesandbox.io/s/antd-form-validation-overlaps-textarea-count-forked-ojhzl?file=/index.js |
@xrkffgg that solution definitely works, but is not an ideal design just because of the empty space it creates. I'm happy either way honestly, the overlap is the main issue from my perspective. |
Any progress on this issue? |
Reproduction link
Steps to reproduce
When creating a
<Form>
using antd, if I create a<TextArea>
withshowCount
set to true within a<Form.Item>
block, and I then add a validation help text to that<Form.Item>
that is really long, it is possible for the help text to overlap the count.What is expected?
I'd expect the error message to wrap around the counter.
What is actually happening?
The error message ends up displaying underneath the counter.
The text was updated successfully, but these errors were encountered: