Skip to content

Conversation

@SaraVieira
Copy link
Contributor

Adds select component

@SaraVieira SaraVieira added the UI label Jan 8, 2020
@SaraVieira SaraVieira requested a review from siddharthkp January 8, 2020 18:03
@lbogdan lbogdan temporarily deployed to pr3298 January 8, 2020 18:08 Inactive
@lbogdan
Copy link
Contributor

lbogdan commented Jan 8, 2020

Build for latest commit 78dc3ce is at https://pr3298.build.csb.dev/s/new.

@lbogdan lbogdan temporarily deployed to pr3298 January 8, 2020 18:15 Inactive
@lbogdan lbogdan temporarily deployed to pr3298 January 8, 2020 18:30 Inactive
{icon ? <IconWrapper>{icon()}</IconWrapper> : null}
<SelectComponent icon={Boolean(icon)} id={id} {...props}>
{props.placeholder ? (
<option value="" disabled selected>
Copy link
Contributor

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

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants