Skip to content

Commit

Permalink
[material-ui][Autocomplete] Display options provided to the options
Browse files Browse the repository at this point in the history
… prop even if loading is true. (mui#41634)

Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
  • Loading branch information
nekoya and ZeeshanTamboli committed Mar 27, 2024
1 parent b7f5def commit 9a66cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ const Autocomplete = React.forwardRef(function Autocomplete(inProps, ref) {
);

let autocompletePopper = null;
if (!loading && groupedOptions.length > 0) {
if (groupedOptions.length > 0) {
autocompletePopper = renderAutocompletePopperChildren(
<AutocompleteListbox
as={ListboxComponent}
Expand Down

0 comments on commit 9a66cdb

Please sign in to comment.