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. (#41634)

Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
  • Loading branch information
nekoya and ZeeshanTamboli authored Mar 25, 2024
1 parent 0080b1b commit 31d5291
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 31d5291

Please sign in to comment.