fix search input component selector (#9470)

This commit is contained in:
Denys Vuika 2024-03-25 10:48:11 -04:00 committed by GitHub
parent 35ab4ccb1f
commit 1952f4852f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -5,10 +5,10 @@
A minimalistic search input component that formats user query according to the provided fields.
```html
<app-search-input
<adf-search-input
[fields]="['cm:name']"
(changed)="onSearchQueryChanged($event)">
</app-search-input>
</adf-search-input>
```
> Notes: this component does not perform search operations.
@ -28,10 +28,10 @@ A minimalistic search input component that formats user query according to the p
## Examples
```html
<app-search-input
<adf-search-input
[fields]="['cm:name', 'cm:title', 'cm:description', 'TEXT', 'TAG']"
(changed)="onSearchQueryChanged($event)">
</app-search-input>
</adf-search-input>
```
In the example above, the search is performed against the following fields:

View File

@ -22,7 +22,7 @@ import { MatInputModule } from '@angular/material/input';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'app-search-input',
selector: 'adf-search-input',
standalone: true,
imports: [CommonModule, MatFormFieldModule, MatInputModule, TranslateModule],
templateUrl: `./search-input.component.html`,