fix: paymentPopup: do not allow '.' or ',' in first
This commit is contained in:
parent
ed16565535
commit
fd5504eadd
|
@ -589,7 +589,7 @@ class WalletViewScreen extends StatelessWidget {
|
|||
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