-
Notifications
You must be signed in to change notification settings - Fork 98
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
zero defaultIndex not showing default name #23
Comments
Temporary solution for this is to pass defaultIndex as string |
yes. exactly. i tried |
Did you manage to solve this? |
Any solution?? |
Hey can you tell me how to do it exactly? |
defaultIndex={"0"} instead of defaultIndex={0}
and if You have this index in variable then You must convert number to string
|
I tried but it is not working |
Reproduce
<SearchableDropdown defaultIndex={0} items={dataFiltered} />/
The text was updated successfully, but these errors were encountered: