selectText doesn't emit callback event in filterFunction
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 867
- PR merge metrics
- No merged PRs in 30d
Description
Hello guys!
When I make change in select filter I get callback event where I can get chosen value of filter and send it to server (function return true). But when we chose default value which i set up in selectText I can't get event to see it and cant send data to server (function return false)
```
status: {
title: fieldNames['status'],
class: 'title-column',
filterFunction(value1?: string, value2?: string): boolean {
return value1 === value2
},
filter: {
type: 'list',
config: {
selectText: 'All',
list: [
{value: 'Active', title: 'Active'},
{value: 'AssosiatedWithGroup', title: 'AssosiatedWithGroup'},
{value: 'RegisteredToOperator', title: 'RegisteredToOperator'}
],
},
},
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.