moxie-lean / ng-patternlab

Atomic Design Patternlab in Angular for use with the LEAN Ecosystem
http://getmoxied.net/lean
MIT License
0 stars 1 forks source link

Add ng-classes to gravityForms component #42

Closed camilodelvasto closed 8 years ago

camilodelvasto commented 8 years ago

The rendered form should have ng-classes like ng-dirty/ng-valid/etc so that validation while tyiping can be used. It should cover:

adamf321 commented 8 years ago

Doesn't angular add these automatically?

camilodelvasto commented 8 years ago

That's what I'm wondering.... Some classes are there, though not all them, but they don't change as user types (always assigning ng-pristine)

chrisweight commented 8 years ago

https://github.com/moxie-leean/ng-patternlab/pull/44 addresses this :)