-
-
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
[material-ui][Autocomplete] Display options provided to the options
prop even if loading is true.
#41634
Conversation
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: José Rodolfo Freitas <joserodolfo.freitas@gmail.com> Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Co-authored-by: Flavien DELANGLE <flaviendelangle@gmail.com> Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Co-authored-by: Bilal Shafi <bilalshafidev@gmail.com>
Netlify deploy previewhttps://deploy-preview-41634--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
options
prop even if loading
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.
@nekoya Thank you for the PR. I've made the necessary changes. See why here: #41633 (comment).
Since we're pushing changes to the next
branch, I've updated the base branch to next
.
Regarding when the loading
state should be displayed, let's discuss it in a separate issue. For now, I've reverted to the previous change from before #41300.
options
prop even if loadingoptions
prop even if loading is true.
@ZeeshanTamboli please make sure that fixes, especially regressions are covered with tests, otherwise we have no guarantee that this will not break again. |
Apologies. Created a PR for adding a test: #41675. |
… prop even if loading is true. (mui#41634) Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
@ZeeshanTamboli @mnajdova Thanks for merging. Could this fix be applied to v5 as well? Is there a plan to backport it? |
fix #41633
Display loading message even if the options exist.