Expected:
When adding any validation to an input that has type="number", the ng-model property should be set to a numeric value, same as if there were no validations added.
Actual:
The ng-model is set to a string value instead.
How to repro:
Add any validation (such as validation-field-required) to a number field.
See this plunker for an example.
Expected:
When adding any validation to an input that has
type="number", theng-modelproperty should be set to a numeric value, same as if there were no validations added.Actual:
The
ng-modelis set to a string value instead.How to repro:
Add any validation (such as
validation-field-required) to anumberfield.See this plunker for an example.