Type: bug
Ionic Version: 2.x
Platform: all
Steps to reproduce:
- Create an
ion-input with type="number"
- Add
[(ngModel)] and (ngModelChange) to get the Value of the input
- Check the type of the value using
typeOf(value)
- Type in a number into the input
=> Type is always a string
Expected behavior:
...
=> Type is a number.
See this plunk as an example:
https://run.plnkr.co/plunks/GHBFad/