Hello I am using Angular 4 and ionic 3, On radio selection I am showing / 
hiding some of the form element. So on constructor I have created form 
group and assigning the validation.

self.form_group_name = self.*formGroup*.group({
  mail_address_line1:['', Validators.required],
  mail_address_line2:[''],
  mail_address_city:['', Validators.compose([Validators.required, 
Validators.pattern('[a-zA-z ]*')])],

  mail_address_stateId:[''],
  ...
)};

so How can I push/remove other elements in this form_group to validate.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to