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