-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] - Label of Input of type File, never goes inside #4364
Comments
From the source code, if the label placement is inside, it will throw |
Thank You for addressing the issue. I'm sure you can fix it 💪🏻 |
NextUI Version
14.2.15
Describe the bug
The Input component property
labelPlacement="inside"
is not working as expected for with propertytype="file"
Below is the code to reproduce the issue
I have created a temporary fix for it.
In the code above if we uncomment the classNames attribute the label appears inside the component as it should be when the
labelPlacement="inside"
is set on the Input ComponentYour Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
The Label should appear inside the Component when the Input component property
labelPlacement="inside"
is set with another propertytype="file"
It may work fine once when we change the input type from text to file but after reloading the web page, the label is placed outside the component.
Screenshots or Videos
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: