Commit 7f5bff9f authored by Marco Ortiz's avatar Marco Ortiz

Correcciones para de sintaxis

parent 38c2c5f9
......@@ -103,7 +103,7 @@ export class CaDeploymentChannelsComponent implements OnInit {
parameter.traductions = field.traductions;
parameter.maxlength = field.maxlength;
parameter.regex = field.regex;
formArray.addControl(field.name, new FormControl('',field.required ? [Validators.required] : []));
formArray.addControl(field.name, new FormControl('', field.required ? [Validators.required] : []));
break;
}
......@@ -284,7 +284,7 @@ export class CaDeploymentChannelsComponent implements OnInit {
return valid;
}
getErrors(channelName:string, name: string, placeholder: string) {
getErrors(channelName: string, name: string, placeholder: string) {
const channelFormGroup = (this.formGroup.controls[channelName] as FormGroup);
return channelFormGroup ? this.validatorUtils.getErrors(channelFormGroup.controls[name] as FormControl, name, placeholder) : [];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment