Create Company Related
This section describes the BfmTransferCreateCompanyRelatedComponent component.
Usage
You can import the BfmTransferCreateCompanyRelatedComponent directly in your route configuration.
import { BfmTransferCreateCompanyRelatedComponent } from '@celerofinancas/ui-charges';
const routes = [
{
path: 'transfer-create-company-related',
component: BfmTransferCreateCompanyRelatedComponent,
},
];
But if you need more customization, you need to import it in your module and use it in your template.
import { BfmTransferCreateCompanyRelatedComponent } from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'create-company-related',
imports: [BfmTransferCreateCompanyRelatedComponent],
templateUrl: './create-company-related.component.html',
})
export class TransferCreateCompanyRelatedComponent {}
Then, in your template, you can use the component like this:
create-company-related.component.html
<bfm-transfer-create-company-related
[nonRequiredList]="nonRequiredList"
[title]="title"
>
Inputs
The BfmTransferCreateCompanyRelatedComponent component has the following input:
nonRequiredList
List of non-required fields.
| Type | Default |
|---|---|
| any | [] |
Example of non-required list:
[
{
key: 'fantasy_name',
label: 'Nome fantasia',
formControl: () => this.transfer.takerForm.controls.fantasy_name,
},
{
key: 'nickname',
label: 'Apelido',
formControl: () => this.transfer.takerForm.controls.nickname,
},
]
title
Title of the component.
| Type | Default |
|---|---|
| string | 'Criar terceiro' |
Events
The BfmTransferCreateCompanyRelatedComponent component has no events.