Skip to content
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

Clearable icon doesn't show on value = 0 #1284

Closed
himanshujariyal opened this issue Oct 6, 2016 · 0 comments
Closed

Clearable icon doesn't show on value = 0 #1284

himanshujariyal opened this issue Oct 6, 2016 · 0 comments

Comments

@himanshujariyal
Copy link

On using the following option, I'm not able to see clearable cross icon on selecting False but it shows in case I select True.

const ENABLED_FLAG_OPTIONS = [
  { label: 'True', value: 1 },
  { label: 'False', value: 0 },
];

<Select
     value={enabledFlagFilter}
     options={ENABLED_FLAG_OPTIONS}
     onChange={selectedValue => this.setState({ enabledFlagFilter: selectedValue && selectedValue.value })}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant