ui
ui copied to clipboard
Select component placeholder
When you add any props on the <Select> component, the placeholder prop on the <SelectValue> component disappears in the UI.
I'm assuming you are using the defaultValue prop, and In that case the placeholder only disappears when the default value is not one of the SelectItems. For example, If the select has items "apple" "banana" than the defaultValue should be defaultValue="banana" or apple.
If it's with any other prop, please provide additional detail on how it can be reproduced.
Same with me, fix with delete the defaultValue of the select input, then the placeholder show it again! Thanks @Swapnanil-Gupta
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.