-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Autocomplete] Support limiting the amount of options #19539
[Autocomplete] Support limiting the amount of options #19539
Conversation
Details of bundle changes.Comparing: 4f07472...488e2b4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of adding a new test case for it? Great start :)
Co-Authored-By: Olivier Tassinari <olivier.tassinari@gmail.com>
@govizlora Let us know if you need help with the test case :). |
Sorry didn't see your previous reply! Shall the test case be added to https://github.com/mui-org/material-ui/blob/master/packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js? |
@govizlora No strong preference, this location sounds fine :) |
…om/govizlora/material-ui into add-limit-to-create-filter-options
@govizlora Well done! Thank you :) |
This PR adds the
limit
option to theconfig
ofcreateFilterOptions()
method.It resolves #19382