Adding a ng-pending class during the pending phase of an input with async validation #10336

Closed
Bretto opened this Issue Jul 27, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@Bretto

Bretto commented Jul 27, 2016

I'm submitting a
feature request

Current behavior
There is no ng-pending class during the pending state of a input with async validation

Expected/desired behavior
Add a ng-pending class during the pending state of a input with async validation

Reproduction of the problem
As soon a you type in the field you get an ng-invalid, but the state is not invalid it should be pending.
https://plnkr.co/edit/ZwAKRn?p=preview

What is the expected behavior?

What is the motivation / use case for changing the behavior?
If would be handy to differentiate the phases on the inputs via css

Please tell us about your environment:

  • Angular version: 2.0.0-rc.4
  • Browser: [all]
  • Language: [all]

@kara kara added the comp: forms label Jul 28, 2016

@kara kara added the type: feature label Aug 29, 2016

pkozlowski-opensource added a commit to pkozlowski-opensource/angular that referenced this issue Sep 1, 2016

pkozlowski-opensource added a commit to pkozlowski-opensource/angular that referenced this issue Sep 1, 2016

pkozlowski-opensource added a commit to pkozlowski-opensource/angular that referenced this issue Oct 4, 2016

pkozlowski-opensource added a commit to pkozlowski-opensource/angular that referenced this issue Oct 11, 2016

pkozlowski-opensource added a commit to pkozlowski-opensource/angular that referenced this issue Oct 11, 2016

@kara kara added the freq2: medium label Oct 12, 2016

@alxhub alxhub closed this in #11243 Oct 19, 2016

alxhub added a commit that referenced this issue Oct 19, 2016

btrigueiro added a commit to btrigueiro/angular that referenced this issue Oct 21, 2016

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