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
I see an issue when using reactive forms and using decimals. If the initial value is a string, the input works correctly. However, if the initial value is a Number, the behavior changes.
When a string, you are allowed to type 0.1 in order, everything seems to be OK.
When a Number, if the first digit is 0, it will reverse your entry. For example, entering 0.1 results in 1.0.
I see an issue when using reactive forms and using decimals. If the initial value is a
string
, the input works correctly. However, if the initial value is aNumber
, the behavior changes.When a
string
, you are allowed to type0.1
in order, everything seems to be OK.When a
Number
, if the first digit is0
, it will reverse your entry. For example, entering0.1
results in1.0
.Example: https://stackblitz.com/edit/angular-qvvr2w
The text was updated successfully, but these errors were encountered: