You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if relevant but I'm using a Locale where decimal separators are , eg: 12.345,67
Steps to reproduce:
Simple Text field with a ThousandsFormatter(allowFraction: true) input formatter.
Type 12345,67 which renders as 12.345,67
Continue by typing ,
Expected:
You see 12345,67
Actual:
You see 0,
As it happens, I needed to do some other formatting and I fixed this by adding a formatter before ThousandsFormatter, which makes sure that a second , is not possible to type.
The text was updated successfully, but these errors were encountered:
andreidiaconu
changed the title
Users lose number if they try to type a second decimal separator
Users lose their input if they try to type a second decimal separator
Sep 7, 2020
Not sure if relevant but I'm using a Locale where decimal separators are
,
eg: 12.345,67Steps to reproduce:
ThousandsFormatter(allowFraction: true)
input formatter.12345,67
which renders as12.345,67
,
Expected:
12345,67
Actual:
0,
As it happens, I needed to do some other formatting and I fixed this by adding a formatter before ThousandsFormatter, which makes sure that a second
,
is not possible to type.The text was updated successfully, but these errors were encountered: