-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] - DateInput problems displaying long descriptions #3515
Comments
@rettimo can you explain more about what you want |
@rettimo I tried even with <div>
<DateInput
{...args}
description="Please enter your birth date Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem beatae libero sint quisquam quasi eos? Animi eum libero labore. Optio. Please enter your birth date Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem beatae libero sint quisquam quasi eos? Animi eum libero labore. Optio."
name="date"
/>
<h1>
Please enter your birth date Lorem ipsum dolor sit amet consectetur, adipisicing elit.
Quidem beatae libero sint quisquam quasi eos? Animi eum liber
</h1>
<button className={button({className: "max-w-fit"})} type="submit">
Submit
</button>
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NextUI Version
2.4.5
Describe the bug
The approach to separating input and help text was chosen incorrectly. Since it is fixed and does not react to overflow. Thus, help text that has two or more lines will be displayed under the bottom block.
In fact, all inputs with label have the same problem (margin top problem)
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
DateInput
with the long description (two or more lines)Expected behavior
The help text has its own styles to separate from the main block. How this is done in the
Input
component.Input:
Screenshots or Videos
No response
Operating System Version
macOs Sonoma 14.5
Browser
Chrome
The text was updated successfully, but these errors were encountered: