-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Select component #3298
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
Select component #3298
Conversation
|
Build for latest commit 78dc3ce is at https://pr3298.build.csb.dev/s/new. |
| {icon ? <IconWrapper>{icon()}</IconWrapper> : null} | ||
| <SelectComponent icon={Boolean(icon)} id={id} {...props}> | ||
| {props.placeholder ? ( | ||
| <option value="" disabled selected> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this should be disabled, this will not allow you to unselect your value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, either one is fine by me, I saw this being more used but I guess the value is 0 so if we check required we will be good
I will remove it
Adds select component