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();
|
// _walletViewProvider.reload();
|
||||||
}),
|
}),
|
||||||
inputFormatters: <TextInputFormatter>[
|
inputFormatters: <TextInputFormatter>[
|
||||||
|
// FilteringTextInputFormatter.digitsOnly,
|
||||||
|
FilteringTextInputFormatter.deny(',',
|
||||||
|
replacementString: '.'),
|
||||||
FilteringTextInputFormatter.allow(
|
FilteringTextInputFormatter.allow(
|
||||||
RegExp(r'^\d+\.?\d{0,2}')),
|
RegExp(r'(^\d*\.?\d{0,2})')),
|
||||||
],
|
],
|
||||||
// onChanged: (v) => _searchProvider.rebuildWidget(),
|
// onChanged: (v) => _searchProvider.rebuildWidget(),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
|
Loading…
Reference in New Issue