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 don't seem to get an error in TypeScript, but it doesn't convert for me which is what I expected it to do. Would there be interest in converting to an int/number in cases where the type equals number? Or is this added complication and should be handled by other means
I have the latest beta version and I am still seeing this issue. A input with type=number using ngModel is returning a string to the model instead of a number. Any progress on this?
@RemnantArcher Do you have a small plunk to verify this is till true as of Beta 15? I noticed that the tests don't cover the ng-model use-case, though on the surface don't see a reason why it should fail there.
angular-automatic-lock-bot commented on Sep 8, 2019
Activity
IAPark commentedon Sep 11, 2015
I don't seem to get an error in TypeScript, but it doesn't convert for me which is what I expected it to do. Would there be interest in converting to an int/number in cases where the type equals number? Or is this added complication and should be handled by other means
rightisleft commentedon Sep 14, 2015
I would assume that if the type is number - then the value exposed to the model would also be a numeric value.
Dart throws an error as its a type mismatch - converting the variable type to String fixes the symptom, but it should not be String ....
feat(forms): add input[type=number] value accessor
zakton5 commentedon Apr 6, 2016
I have the latest beta version and I am still seeing this issue. A input with type=number using ngModel is returning a string to the model instead of a number. Any progress on this?
gamebox commentedon Apr 21, 2016
@RemnantArcher Do you have a small plunk to verify this is till true as of Beta 15? I noticed that the tests don't cover the ng-model use-case, though on the surface don't see a reason why it should fail there.
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.