-
-
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] - Select #3062
Comments
I think it was due to |
Yes, it is true that filterBy may be empty because the initial value is from searchParams. But the placeholder should be displayed when the state is empty. In the document itself, the placeholder is empty and is not displayed . Is there a solution ? |
For the controlled component, it seems that
I'll fix this. Thank you for reporting the issue! |
You're welcome |
NextUI Version
2.3.6
Describe the bug
When nothing is selected. The placeholder is not displayed . When using onChange .
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
When nothing is selected. The placeholder is not displayed . When using onChange .
Expected behavior
When the state associated with the select component is empty, the placeholder will be displayed, and when the user clicks on one of the select options and chooses, the placeholder will be hidden and what the user entered will be displayed.
Screenshots or Videos
No response
Operating System Version
Windows 11 Home V-23H2
Browser
Chrome
The text was updated successfully, but these errors were encountered: