Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class ContactComponent extends AbstractValueAccessor<ContactInfoModel>{
- contactInfo: FormGroup = new FormGroup({
- email: new FormControl("", [Validators.required]),
- phone: new FormControl("",[Validators.required])
- });
- }
- export class TripComponent extends AbstractValueAccessor<any>{
- tripInfo: FormGroup = new FormGroup({
- from: new FormControl("", [Validators.required]),
- to: new FormControl("",[Validators.required])
- });
- trip="";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement