fix: allow comma in payment pop, replaced by point
This commit is contained in:
parent
71d321700b
commit
ed16565535
|
@ -585,8 +585,11 @@ class WalletViewScreen extends StatelessWidget {
|
|||
// _walletViewProvider.reload();
|
||||
}),
|
||||
inputFormatters: <TextInputFormatter>[
|
||||
// FilteringTextInputFormatter.digitsOnly,
|
||||
FilteringTextInputFormatter.deny(',',
|
||||
replacementString: '.'),
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp(r'^\d+\.?\d{0,2}')),
|
||||
RegExp(r'(^\d*\.?\d{0,2})')),
|
||||
],
|
||||
// onChanged: (v) => _searchProvider.rebuildWidget(),
|
||||
decoration: InputDecoration(
|
||||
|
|
Loading…
Reference in New Issue