Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
betocantu93 authored Sep 22, 2023
1 parent ffc3c70 commit c8dadd8
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default class SomeController extends Controller {
{
name: 'Name',
relation: 'contact',
valuePath: 'name',
component: 'table/custom/contact-name',
mayBeSorted: false,
},
Expand All @@ -54,11 +55,29 @@ export default class SomeController extends Controller {
{
name: 'City / State',
component: 'table/custom/city-state',
valuePath: 'cityName',
mayBeSorted: false,
},
];

config = {} //check @elastic/search-ui for config documentation
//check @elastic/search-ui for config documentation
config = {
onSearch: () => {
return [
{
cityName: 'Monterrey',
contact: {
company: 'Prysmex'
}
},
{
cityName: 'Madrid',
contact: {
company: 'Prysmex'
}
}
]
}
}
}

```
Expand Down

0 comments on commit c8dadd8

Please # to comment.