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

Select: component doesn't show label if value is empty string #490

Open
rndD opened this issue Oct 22, 2024 · 2 comments
Open

Select: component doesn't show label if value is empty string #490

rndD opened this issue Oct 22, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@rndD
Copy link
Contributor

rndD commented Oct 22, 2024

Video:
https://github.com/user-attachments/assets/10c16b7e-6d3f-42ef-94d0-2e9f150140fc

Steps:

  • create Select with options:
const categoriesOptions = [
  { value: '', label: 'All' },
  { value: 'service', label: 'Service' },
  { value: 'billing', label: 'Billing' }
];
  • Select first option
  • It shows empty select instead of All
image
@rndD rndD added bug Something isn't working good first issue Good for newcomers labels Oct 22, 2024
@uknhu-810
Copy link

Hi. Can I assigned to this issue?

@rndD
Copy link
Contributor Author

rndD commented Oct 23, 2024

@uknhu-810, you can submit a PR and I will assign you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants