Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class GroupComponent {
- kisiForm = new FormGroup({
- adi: new FormControl(''),
- email: new FormControl(''),
- telefon: new FormControl(''),
- sifre: new FormControl('')
- });
- kisi: KisiBilgisi;
- onSubmit() {
- this.kisi = this.kisiForm.value;
- }
- temizle() {
- this.kisiForm.reset();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement