-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
before I declared the component and extended NgxSubFormRemapComponent
export class ContribuinteFormComponent extends NgxSubFormRemapComponent<Pessoa, PessoaForm>
could you please an example of how to declare in the new way
public form: NgxSubFormRemapComponent<Pessoa, PessoaForm>;
constructor() {
this.form = createForm<PessoaForm>(this, {
formType: FormType.SUB,
formControls: {
tipo: new FormControl(null, Validators.required),
fisica: new FormControl(null),
juridica: new FormControl(null),
},
})
}
Metadata
Metadata
Assignees
Labels
No labels