aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/dynamic-form-field.component.ts
blob: b6389079792ddb00fe2e61116ec51fa67117c637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Component, Input } from '@angular/core'
import { FormGroup } from '@angular/forms'
import { RegisterClientFormFieldOptions } from '@shared/models'

@Component({
  selector: 'my-dynamic-form-field',
  templateUrl: './dynamic-form-field.component.html',
  styleUrls: [ './dynamic-form-field.component.scss' ]
})

export class DynamicFormFieldComponent {
  @Input() form: FormGroup
  @Input() formErrors: any
  @Input() setting: RegisterClientFormFieldOptions
}