You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loading prop of the Autocomplete component was set to always be true instead of being set to whatever the current state of the loading variable we created was. This prevented the component from displaying the text MUI provides when the user types in an option that isn't valid. Setting this loading prop to be the same as the loading variable allowed that text to display.
In order to make the text more specific to the component, I passed the noOptionsText prop and set the string to display "Queue doesn't exist" when the user types in a queue that is not valid. Below is a code diff to show the code that changed to make this work.
The text was updated successfully, but these errors were encountered: