Strip spaces from IBAN values before attempting to validate and transform them.

This commit is contained in:
Alex Hart
2025-02-11 14:21:14 -04:00
committed by Greyson Parrelli
parent 3237072c40
commit 48cac37914
2 changed files with 11 additions and 1 deletions

View File

@@ -243,7 +243,9 @@ private fun BankTransferDetailsContent(
item {
TextField(
value = state.iban,
onValueChange = onIBANChanged,
onValueChange = { value ->
onIBANChanged(value.replace(" ", ""))
},
label = {
Text(text = stringResource(id = R.string.BankTransferDetailsFragment__iban))
},