SHARE
TWEET

Untitled

a guest Feb 21st, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export class GroupComponent {
  2.   kisiForm = new FormGroup({
  3.     adi: new FormControl(''),
  4.     email: new FormControl(''),
  5.     telefon: new FormControl(''),
  6.     sifre: new FormControl('')
  7.   });
  8.  
  9.   kisi: KisiBilgisi;
  10.  
  11.   onSubmit() {
  12.     this.kisi = this.kisiForm.value;
  13.   }
  14.   temizle() {
  15.     this.kisiForm.reset();
  16.   }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top