From 612341cf4522c4bbc7d1f234164648326b99a0e9 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 4 Sep 2024 22:10:28 +0200 Subject: [PATCH] Fixed setting reference from suggestion --- .../kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt index 08bd2e9..af89e5f 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt @@ -194,6 +194,7 @@ fun TransferMoneyDialog( "Verwendungszweck", dropdownMaxHeight = 250.dp, minTextLengthForSearch = 0, + getItemTitle = { suggestion -> suggestion.reference }, onEnteredTextChanged = { paymentReference = it }, onSelectedItemChanged = { paymentReference = it?.reference ?: "" }, fetchSuggestions = { recipientFinder.findPaymentDataForIban(recipientAccountIdentifier) }