Textbox maxLength respects non-valid values.

Fixed, not yet flighted Issue #7315556

Details

Author
seba k.
Created
Apr 23, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
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 “Rick J.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

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

      Changed Steps to Reproduce

      Changed Status from “Confirmed” to “In progress”

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

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

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

      Changed Steps to Reproduce

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

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

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

      Changed Status from “In progress” to “Confirmed”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “Fixed, not yet flighted”

      Changed Status from “Fixed, not yet flighted” to “Fixed, flighted”

      Changed Status from “Fixed, flighted” to “Fixed, not yet flighted”

    • This has been fixed in builds 14900 and higher based on testing we have done. Thank you for your feedback - looking forward to more going forward.

      All the best,
      The MS Edge Team

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

    Sign in