Form Validation: "validity" object does not update itself for SELECT and TEXTAREA elements

Confirmed Issue #291588 • Assigned to Eugene V.

Details

Created
Jun 5, 2014
Privacy
This issue is public.
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

URL:http://jsfiddle.net/NPb5f/

Repro Steps:

  1. load http://jsfiddle.net/NPb5f/

  2. Under Input Sample click [Fill] then click [Check]
    Result is displayed
    Validity.valueMissing for INPUT is false

  3. under textarea sample click [Fill] then click [Check]
    Result is displayed
    Validity.valueMissing for INPUT is TRUE
    ---- Should have been false

  4. under Select sample click [Fill] then click [Check]
    Result is displayed
    Validity.valueMissing for INPUT is TRUE
    ---- Should have been false

Expected Results:

element.validity should reflect the current element state for TEXTAREA and SELECT elements as it occurs correctly on INPUT elements.

Chrome and FF provide the same result IE is different.
It is, also, a W3C candidate recommendation as of http://www.w3.org/TR/html5/forms.html#dom-cva-validity

Actual Results:

 

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Eugene V.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Title from “HTML5 validation "validity" object does not update itself for SELECT and TEXTAREA elements” to “Form Validation: "validity" object does not update itself for SELECT and TEXTAREA elements”

      Changed Assigned To to “Eugene V.”

      Changed Status from “Won’t fix”

      Changed Status to “Confirmed”

    • Is there a documented workaround for this problem?

    • Microsoft Edge Team

      Changed Steps to Reproduce

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

    Sign in