Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 40x 40x 84x 84x 84x 84x | import { ChangeDetectionStrategy, Component } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FormlyFieldConfig } from '@ngx-formly/core';
/* eslint-disable @typescript-eslint/no-explicit-any */
@Component({
selector: 'ish-formly-testing-container',
templateUrl: './formly-testing-container.component.html',
changeDetection: ChangeDetectionStrategy.Default,
})
export class FormlyTestingContainerComponent {
set testComponentInputs(inputs: { fields: FormlyFieldConfig[]; form: FormGroup; model: any; options?: any }) {
this.fields = inputs.fields;
this.form = inputs.form;
this.model = inputs.model;
this.options = inputs.options ?? {};
}
fields: FormlyFieldConfig[];
form: FormGroup;
model: any;
options: any;
}
|