Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nsatragno opened this issue Aug 22, 2017 · 0 comments
Open

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

nsatragno opened this issue Aug 22, 2017 · 0 comments

Comments

@nsatragno
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant