mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
use internal variable
This commit is contained in:
parent
d5c3712067
commit
957a6d63ae
1 changed files with 1 additions and 1 deletions
|
@ -1400,7 +1400,7 @@ class NumericalRangeFormatter extends TextInputFormatter {
|
|||
: r'^([0-9]*[,.]?[0-9]{0,8}|[,.][0-9]{0,8})$';
|
||||
|
||||
// return RegExp(r'^([0-9]*[,.]?[0-9]{0,8}|[,.][0-9]{0,8})$')
|
||||
return RegExp(regexString).hasMatch(newValue.text)
|
||||
return RegExp(regexString).hasMatch(newVal)
|
||||
? TextEditingValue(text: newVal, selection: newSelection)
|
||||
: oldValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue