Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Running (custom) validators should also execute setCustomValidity on the element #16353

Description

@dietergeerts

I'm submitting a ...

  • bug report
  • feature request
  • other

Current behavior:
Right now, when validators run, they only set the AngularJS validity, and not the HTML validtity. Because of this, we can't use the :invalid pseudo selector, which is used by Bootstrap 4 to display the validation styling.

Expected / new behavior:
Running validators should also set the the HTML validity in order to use :invalid pseudo selector.

AngularJS version: 1.5.11 (I checked source code of the latest version on master too)

Browser: [al]

Anything else:
I don't know if PR can still be made on this. If so, I could check it out to create one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions