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
| Type | Default |
|---|---|
string | '' |
formControl
CVA form control
| Type | Default |
|---|---|
UntypedFormControl | null |
formControlName
CVA form control name
| Type | Default |
|---|---|
string | '' |
readOnly
Whether field is read only
| Type | Default |
|---|---|
boolean | false |
Events
The BfmRecordNameAutocompleteComponent component has no events.