Skip to content

pdurejachd/angular8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular8 Bookmarks & Snippets

ANGULAR ROUTING
WORKING WITH FORMS
  • Reactive Forms
    • Import ReactiveFormsModule to app.module.ts
    import { ReactiveFormsModule } from '@angular/forms';
    Add entry of ReactiveFormsModule inside imports: [] section
    
    • In order to use ReactiveForms a Component need to declare form fields as FormControl,
    import { FormControl } from '@angular/forms';
    
    email = new FormControl('');
    Using FormControls in html
    <input type="text" [formControl]="email"/>
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors