fix: paymentPopup: do not allow '.' or ',' in first

This commit is contained in:
poka 2022-06-10 18:07:30 +02:00
parent ed16565535
commit fd5504eadd
1 changed files with 1 additions and 1 deletions

View File

@ -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(