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(',',
|
FilteringTextInputFormatter.deny(',',
|
||||||
replacementString: '.'),
|
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