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.

Proposal: .ng-prefilled class helper #10050

Closed
@lufzle

Description

@lufzle

This would be handy in the following use case:

You want to show validation messages either

  • after the form is submitted
  • on field touch, provided the field has already a value. In this case I'd like the user to notice the validity of the new value right after touch -- instead of waiting until form submission.

So it would work like this (relevant classes mentioned):

  1. the field is in a untouched state, but has a value: ng-untouched ng-pristine ng-prefilled
  2. user changes field value: ng-untouched ng-dirty ng-prefilled
  3. user blurs field: ng-touched ng-dirty ng-prefilled

Does this makes sense to you, guys?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions