Commit fd5504ea authored by poka's avatar poka
Browse files

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

parent ed165655
Pipeline #16014 failed
......@@ -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(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment