-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Dropdown: search
prop has invalid typings
#4013
Comments
@charliematters great report 👍 Would you like to create a PR to fix it? |
I will have a go after work! |
search
has invalid typings
search
has invalid typingssearch
prop has invalid typings
I raised the PR but it failed at the first hurdle because I forgot to add a label, ad now I can't update it 🤦♂️ Anyway, it's there - let me know if it needs updating |
@charliematters no worries, only maintainers can manage labels as we are using them to generate changelogs. |
Bug Report
Steps
Use a dropdown with a default search prop
Expected Result
That it uses the default search function
Actual Result
Version
1.1.0
Testcase
Before:
After:
The new type means that you can provide a function, but that function has to return an array of options, or a boolean. Previously, you could provide a boolean (e.g.
<Dropdown search />
) or alternatively a functionThe text was updated successfully, but these errors were encountered: