Using now the new AutocompleteTextField also in AddAccountDialog
This commit is contained in:
parent
5a49e48ea8
commit
c80d75c409
|
@ -70,9 +70,9 @@ fun AddAccountDialog(
|
|||
) {
|
||||
Column {
|
||||
|
||||
AutocompleteTextField(
|
||||
onValueChange = { selectedBank = it },
|
||||
label = { Text("Bank (Suche mit Name, Bankleitzahl oder Ort)") },
|
||||
AutocompleteTextFieldNew(
|
||||
onSelectedItemChanged = { selectedBank = it },
|
||||
label = "Bank (Suche mit Name, Bankleitzahl oder Ort)",
|
||||
getItemTitle = { bank -> bank.name },
|
||||
fetchSuggestions = { query -> bankingService.findBanks(query) }
|
||||
) { bank ->
|
||||
|
|
Loading…
Reference in New Issue