mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4486] docs update (#7146)
* [ACA-4486] docs update * * [ci:force] rename see also section * [ci:force] settings and migrate step added * settings and migrate step added * [ci:force] minor corrections
This commit is contained in:
@@ -7,8 +7,6 @@ Last reviewed: 2021-06-11
|
||||
|
||||
# [Search Form component](../../../lib/content-services/src/lib/search/components/search-form/search-form.component.ts "Defined in search-form.component.ts")
|
||||
|
||||
Selecting a configuration from a set of configured options.
|
||||
|
||||

|
||||
|
||||
## Basic usage
|
||||
@@ -16,51 +14,14 @@ Selecting a configuration from a set of configured options.
|
||||
```json
|
||||
{
|
||||
"search": [
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"id": "queryName",
|
||||
"name": "Name",
|
||||
"enabled": true,
|
||||
"expanded": true,
|
||||
"component": {
|
||||
"selector": "text",
|
||||
"settings": {
|
||||
"searchPrefix": "",
|
||||
"searchSuffix": "",
|
||||
"pattern": "cm:name:'(.*?)'",
|
||||
"field": "cm:name",
|
||||
"placeholder": "Enter the name",
|
||||
"allowUpdateOnChange": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "ALL",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"id": "queryName",
|
||||
"name": "Name",
|
||||
"enabled": true,
|
||||
"expanded": true,
|
||||
"component": {
|
||||
"selector": "text",
|
||||
"settings": {
|
||||
"searchPrefix": "",
|
||||
"searchSuffix": "",
|
||||
"pattern": "cm:name:'(.*?)'",
|
||||
"field": "cm:name",
|
||||
"placeholder": "Enter the name",
|
||||
"allowUpdateOnChange": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "Other"
|
||||
}
|
||||
{
|
||||
"name": "Default",
|
||||
...
|
||||
},
|
||||
{
|
||||
"name": "Other",
|
||||
...
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -68,8 +29,9 @@ Selecting a configuration from a set of configured options.
|
||||
|
||||
## Details
|
||||
|
||||
This component lets the user pick a configuration for a search.
|
||||
This component pick a configuration for a search from the list of configuration.
|
||||
|
||||
## See also
|
||||
|
||||
- [Search Configuration Guide](../../user-guide/search-configuration-guide.md)
|
||||
- [Search Query Builder](../services/search-query-builder.service.md)
|
||||
|
Reference in New Issue
Block a user