Fixed setting reference from suggestion
This commit is contained in:
parent
2e1e06de23
commit
612341cf45
|
@ -194,6 +194,7 @@ fun TransferMoneyDialog(
|
||||||
"Verwendungszweck",
|
"Verwendungszweck",
|
||||||
dropdownMaxHeight = 250.dp,
|
dropdownMaxHeight = 250.dp,
|
||||||
minTextLengthForSearch = 0,
|
minTextLengthForSearch = 0,
|
||||||
|
getItemTitle = { suggestion -> suggestion.reference },
|
||||||
onEnteredTextChanged = { paymentReference = it },
|
onEnteredTextChanged = { paymentReference = it },
|
||||||
onSelectedItemChanged = { paymentReference = it?.reference ?: "" },
|
onSelectedItemChanged = { paymentReference = it?.reference ?: "" },
|
||||||
fetchSuggestions = { recipientFinder.findPaymentDataForIban(recipientAccountIdentifier) }
|
fetchSuggestions = { recipientFinder.findPaymentDataForIban(recipientAccountIdentifier) }
|
||||||
|
|
Loading…
Reference in New Issue