Skip to main content

Main Record Info

This section describes the CreateMainRecordInfoComponent component.

Composition

The CreateMainRecordInfoComponent is composed of the following components:

Usage

You need to import it in your module and use it in your template.

create-main-record-info.component.ts
import { CreateMainRecordInfoComponent } from '@celerofinancas/ui-cash-flow';

@Component({
standalone: true,
selector: 'create-main-record-info',
imports: [CreateMainRecordInfoComponent],
templateUrl: './create-main-record-info.component.html',
})
export class CustomCreateMainRecordInfoComponent {}

Then, in your template, you can use the component like this:

create-main-record-info.component.html
<bfm-create-main-record-info
[checkingAccountBlackList]="[]"
[checkingAccounts]="checkingAccounts"
[isClientUser]="false"
[recordForm]="recordForm"
/>

Inputs

The CreateMainRecordInfoComponent component has the following inputs:

checkingAccountBlackList

A list of ids containing the checking accounts that should not be displayed. E.g. ['383', '384']

TypeDefault
string[][]

checkingAccounts

Checking accounts list

TypeDefault
CheckingAccount[][]

isClientUser

Whether the user is a client

TypeDefault
booleanfalse

recordForm

Record form group reference

TypeDefault
FormGroupnew FormGroup({})

Events

The CreateMainRecordInfoComponent component has no events.