Closed netgfx closed 3 years ago
hello, I have
TextFormField( inputFormatters: [CurrencyTextInputFormatter(locale: "en_US", decimalDigits: 2, symbol: "")], keyboardType: TextInputType.numberWithOptions(decimal: true) );
and when I type 1 it goes to 0.01 is there a way to start from 1 and only if I press , to add a decimal? It feels very unnatural to start from 0.01 cent
1
0.01
,
@netgfx Thank you for using.
This library supports only right start, because of currency.
You should useRegExp instead.
RegExp
hello, I have
and when I type
1
it goes to0.01
is there a way to start from1
and only if I press,
to add a decimal? It feels very unnatural to start from 0.01 cent