validateInput(field) { this.detailForm.patchValue({ [field.id]: this.detailForm.controls[field.id].value }); } }