Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

exponential notation in input[type=number] validation #12121

Closed
@mprokopowicz

Description

@mprokopowicz

If we provide some long number, like 111111111111111111111111 in the input[type=number] and then click this little up/down arrow, then input value is converted to exponential notation: 1.11111111111111111e+23

Angular consider this is invalid value, but i think it should be still valid:

> typeof 1.11111111111111111e+23
< "number"

See this plunker:
http://embed.plnkr.co/hBmk7d/preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions