<input type="number"> validation bug

Confirmed Issue #11244000 • Assigned to Francois R.


Christopher C.
Mar 12, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

<form method="get">
<input type="number" min="1" max="10" step="0.1">
<input type="submit">
Load the above code as a webpage in Edge, input 1.1, 1.2 or 1.4 in the number input and attempt to submit. The form will not validate.


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Following up on this: It is also the case in a UWP built app of the same code. I believe it is because the app uses web view, which uses the Edge engine.

  • Microsoft Edge Team

    Changed Assigned To to “Bogdan B.”

    Changed Assigned To from “Bogdan B.” to “Francois R.”

    Changed Status to “Confirmed”

  • It seems like this is a basic functionality. It seems like this bug should have gotten fixed a year ago. Any updates on improvements in Edge?

  • This issue appears to be related to small step sizes and numbers near the min. Using step="0.01" min="1.00" max="3.00" and 1.2 will validate but anything between 1 and 1.19 will not validate. Unlike the original submitter, I can get the form to validate over 1.2 regardless of what max is set to.

    Note: Problem goes away if min="0".

You need to sign in to your Microsoft account to add a comment.

Sign in