Main Record Info
This section describes the CreateMainRecordInfoComponent component.
Composition
The CreateMainRecordInfoComponent is composed of the following components:
- BfmCheckingAccountDropdownComponent - Dropdown component for selecting checking accounts.
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']
| Type | Default |
|---|---|
string[] | [] |
checkingAccounts
Checking accounts list
| Type | Default |
|---|---|
| CheckingAccount[] | [] |
isClientUser
Whether the user is a client
| Type | Default |
|---|---|
boolean | false |
recordForm
Record form group reference
| Type | Default |
|---|---|
FormGroup | new FormGroup({}) |
Events
The CreateMainRecordInfoComponent component has no events.