8000 Investigate `setCustomValidity` `ValidityState` APIs · Issue #2017 · jquery-validation/jquery-validation · GitHub
[go: up one dir, main page]

Skip to content
Investigate setCustomValidity ValidityState APIs #2017
Open
@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

      0