angular-ui-form-validation icon indicating copy to clipboard operation
angular-ui-form-validation copied to clipboard

Inputs with `type="number"` setting `ng-model` to a string value

Open nsatragno opened this issue 8 years ago • 0 comments

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.

nsatragno avatar Aug 22 '17 13:08 nsatragno