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 | 1x 1x 1x 1x | import { ChangeDetectionStrategy, Component } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FieldType } from '@ngx-formly/core';
/**
* Type that will render an <ish-formly-address-form> component
* and configure it to use the current form as its parent.
*
* @props **businessCustomer** will be passed on to the component (see component documentation for infos).
*/
@Component({
selector: 'ish-registration-address-field',
templateUrl: './registration-address-field.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class RegistrationAddressFieldComponent extends FieldType {
get parent() {
return this.form as FormGroup;
}
}
|