-
-
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] - Input - Label with placement "outside" only presented when placeholder === " " #3058
Comments
Thanks for the issue! |
Thank you for your reply! love NextUI and it would be highly appreciated to add this prop. |
@ryo-manba @daniel-aziz I have added the outside-top prop and will be making the PR soon. Can you please telll me if this satisfies your requirements. Update : I have made the pull request here |
Yes, Thank you! |
NextUI Version
2.3.6
Describe the bug
When using input component i would only like to present the label outside with no place holder. In nextUI there is no option to do so, so if i set labelPlacement="outside" i will have to also set the placeholder=" " to string with spaces.
Code:
Code:
Codesandbox
Steps to Reproduce the Bug or Issue
type="text" label="Name" labelPlacement={"outside"} placeholder={" "}
Expected behavior
should not force to set up placeholder in order to show label outside
Screenshots or Videos
No response
Operating System Version
MacOS 14.4.1
Browser
Chrome
The text was updated successfully, but these errors were encountered: