Skip to main content

Record Name Autocomplete

This section describes the BfmRecordNameAutocompleteComponent component.

Composition​

The BfmRecordNameAutocompleteComponent has no any composition component.

Usage​

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

record-name-autocomplete.component.ts
import { BfmRecordNameAutocompleteComponent } from '@celerofinancas/ui-cash-flow';

@Component({
standalone: true,
selector: 'record-name-autocomplete',
imports: [BfmRecordNameAutocompleteComponent],
templateUrl: './record-name-autocomplete.component.html',
})
export class RecordNameAutocompleteComponent {}

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

record-name-autocomplete.component.html
<bfm-record-name-autocomplete 
[companyPk]="'companyPkValue'"
[formControl]="formControl"
[formControlName]="'formControlNameValue'"
[readOnly]="false"
/>

Inputs​

The BfmRecordNameAutocompleteComponent component has the following inputs:

companyPk​

Company PK

TypeDefault
string''

formControl​

CVA form control

TypeDefault
UntypedFormControlnull

formControlName​

CVA form control name

TypeDefault
string''

readOnly​

Whether field is read only

TypeDefault
booleanfalse

Events​

The BfmRecordNameAutocompleteComponent component has no events.