selectText doesn't emit callback event in filterFunction
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 867
- PR 合并指标
- 30 天内没有已合并 PR
描述
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'}
],
},
},
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。