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.

input type="number" does not allow numbers with leading decimals on some browsers #5680

Open
@joeenzminger

Description

@joeenzminger

Fiddle: http://jsfiddle.net/NEhG9/3/

The fiddle uses 1.2.1, however, I have reproduced it using 1.2.6

It affects IE9 and Firefox
It does not affect Chrome or Safari

I haven't tested IE8- or IE10+

The desired behavior is to allow the leading decimal to be entered, but do not update the model or set the input element's validation to valid until a valid number is entered.

Users can enter numbers with leading decimals by entering the number first, then scrolling back and entering the decimal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions