[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
ZeeshanTamboli
left a comment
There was a problem hiding this comment.
@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.