angular-ui-form-validation
angular-ui-form-validation copied to clipboard
Inputs with `type="number"` setting `ng-model` to a string value
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.