From 4df985467fb72a6bb45087c9c6b3f5cc3fb455b2 Mon Sep 17 00:00:00 2001 From: enrique-lozano Date: Wed, 7 Aug 2024 18:17:04 +0200 Subject: [PATCH] fix: Exchange rate input shows text keyboard --- lib/app/currencies/exchange_rate_form.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/app/currencies/exchange_rate_form.dart b/lib/app/currencies/exchange_rate_form.dart index 6823419c..0e261c8a 100644 --- a/lib/app/currencies/exchange_rate_form.dart +++ b/lib/app/currencies/exchange_rate_form.dart @@ -203,6 +203,8 @@ class _ExchangeRateFormDialogState extends State { setState(() {}); }, autovalidateMode: AutovalidateMode.onUserInteraction, + keyboardType: TextInputType.number, + inputFormatters: decimalDigitFormatter, decoration: InputDecoration( labelText: '${t.currencies.exchange_rate} *', hintText: 'Ex.: 2.14',