表单 - 用户的视觉提示

优质
小牛编辑
136浏览
2023-12-01
  1. .ng-valid {}
  2. /* field value is invalid */
  3. .ng-invalid {}
  4. .ng-untouched {}
  5. /* field has been previously entered */
  6. /* field value is unchanged from the default value */
  7. .ng-dirty {}
  • valid / invalid
  • untouched / touched
  • pristine / dirty