简体   繁体   中英

Angular Dart and form validation

Angular JS has the $pristine , $dirty , $valid , and $invalid booleans for checking the state of a form. Are there equivalents for these in Angular Dart?

Same properties will be in AngularDart, but since we are still not v1.0, we still have some missing features. This is in the works: https://github.com/angular/angular.dart/pull/372

Didn't find anything about this yet too.

EDIT

This is available and seems to work fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM