Textbox maxLength respects negative values.

Fixed Issue #7817161

Details

Created
Jun 7, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Have an input with maxLength set to a NOT valid value. Which according to the W3C HTML5 spec is anything else than a non-negative integer. (e.g. <input type="text" maxLength="-1"/>. According to the spec this should result in no maxLength being applied.
  2. Type in the textbox
    Expected behavior: You can type whatever you want, as is the case in Chrome and Firefox.
    Actual behavior: You can’t type, maxLength is applied even though it is not valid.
    This happens in both Edge and IE11.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Grisha L.”

      Changed Status to “In code review”

      Changed Steps to Reproduce

      Changed Status from “In code review”

      Changed Title from “Textbox maxLength respects non-valid values.” to “Textbox maxLength respects negative values.”

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Status to “Won’t fix”

      Changed Steps to Reproduce

    • Hello,

      Thank you for providing this information about the issue. Currently, we do not plan to release a fix for this problem. We are considering a solution for a future build.

      Best Wishes,

      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “Nishant S.”

      Changed Status from “Won’t fix”

      Changed Status to “In code review”

      Changed Assigned To from “Nishant S.” to “Amit J.”

      Changed Assigned To from “Amit J.” to “Grisha L.”

      Changed Status from “In code review” to “Fixed”

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

    Sign in