16 lines
468 B
TypeScript
16 lines
468 B
TypeScript
|
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
|
||
|
}
|