Skip to content
Snippets Groups Projects
Commit ed165655 authored by poka's avatar poka
Browse files

fix: allow comma in payment pop, replaced by point

parent 71d32170
No related branches found
No related tags found
No related merge requests found
Pipeline #16012 failed
...@@ -585,8 +585,11 @@ class WalletViewScreen extends StatelessWidget { ...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment