Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. export class ContactComponent extends AbstractValueAccessor<ContactInfoModel>{
  2.  
  3. contactInfo: FormGroup = new FormGroup({
  4. email: new FormControl("", [Validators.required]),
  5. phone: new FormControl("",[Validators.required])
  6. });
  7.  
  8. }
  9.  
  10. export class TripComponent extends AbstractValueAccessor<any>{
  11.  
  12. tripInfo: FormGroup = new FormGroup({
  13. from: new FormControl("", [Validators.required]),
  14. to: new FormControl("",[Validators.required])
  15. });
  16.  
  17. trip="";
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement