GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • NG_VALIDATORS
  • Form Validation

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — RequiredValidator • Angular

API

    
      class RequiredValidator extends AbstractValidatorDirective {}
    
    

Tracks changes to the required attribute bound to this directive.

Description

A directive that adds the required validator to any controls marked with the required attribute. The directive is provided with the NG_VALIDATORS multi-provider list.

Exported by

  • FormsModule
  • ReactiveFormsModule

Usage Notes

Adding a required validator using template-driven forms

<input name="fullName" ngModel required>
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.