Content-Length: 260585 | pFad | http://github.com/jquery-validation/jquery-validation/issues/2017

1F Investigate `setCustomValidity` `ValidityState` APIs · Issue #2017 · jquery-validation/jquery-validation · GitHub
Skip to content

Investigate setCustomValidity ValidityState APIs #2017

@staabm

Description

@staabm

modern browsers allow to propagate the valid/invalid state of native element via setCustomValidity ValidityState APIs.
In combination with css pseudo-selector :invalid this could shrink the size of our lib and the markup changes after validation to a minimum.

we should check whether we can apply our feature set to this api and drop the redundant functionality

see
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Constraint_validation_process

https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Constraint_API%27s_element.setCustomValidity()

https://developer.mozilla.org/en-US/docs/Web/API/ValidityState

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/jquery-validation/jquery-validation/issues/2017

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy