Re-setting suggestionsFetchJob
This commit is contained in:
parent
685adad6b3
commit
a92d6a1401
|
@ -50,6 +50,8 @@ fun <T> AutocompleteTextField(
|
||||||
|
|
||||||
suggestions = fetchSuggestions(query)
|
suggestions = fetchSuggestions(query)
|
||||||
|
|
||||||
|
suggestionsFetchJob = null
|
||||||
|
|
||||||
isLoading = false
|
isLoading = false
|
||||||
if (expanded == false && suggestions.isNotEmpty()) {
|
if (expanded == false && suggestions.isNotEmpty()) {
|
||||||
expanded = true
|
expanded = true
|
||||||
|
|
Loading…
Reference in New Issue