Mui Autocomplete does not show loading spinner when loading is true

Viewed 3903

Mui Autocomplete does not show loading spinner, although loading is set to true. Does it have a loading state?

Edit https://codesandbox.io/s/material-demo-forked-109rj

<Autocomplete
  loading
  id="combo-box-demo"
  options={top100Films}
  getOptionLabel={(option) => option.title}
  style={{ width: 300 }}
  renderInput={(params) => <TextField {...params} label="Combo box" variant="outlined" />}
/>
1 Answers

It works as intended. The loading component is only rendered when loading is true AND there is no filtered options in Autocomplete.

Edit 66803107/mui-autocomplete-does-not-show-loading-spinner

Related