mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add soem more explanation in the search autocomplete binding
This commit is contained in:
@@ -98,6 +98,7 @@ Which will look like :
|
|||||||
### Attach an input field to the search
|
### Attach an input field to the search
|
||||||
|
|
||||||
You can also attach your input field to the adf-search component via the trigger [searchAutocomplete]
|
You can also attach your input field to the adf-search component via the trigger [searchAutocomplete]
|
||||||
|
Yuo can do this by exporting the adf-search panel instance into a local template variable (here we called it "search"), and binding that variable to the input's searchAutocomplete property.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<input type="text" [searchAutocomplete]="search">
|
<input type="text" [searchAutocomplete]="search">
|
||||||
|
Reference in New Issue
Block a user