Say that you have an async method, that fetches the results, whilst, you pass the loading option to true.
User clicks on the MaterialSearchInput, CircularProgressIndicator is exibited. When the async method finishes loading, calls setState, changing loading to false and the results to the found array. The MaterialSearch is not updated with the new results.
Say that you have an async method, that fetches the results, whilst, you pass the
loading
option to true. User clicks on the MaterialSearchInput, CircularProgressIndicator is exibited. When the async method finishes loading, calls setState, changing loading to false and the results to the found array. The MaterialSearch is not updated with the new results.