Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@nsatragno

Description

@nsatragno

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions