selectText doesn't emit callback event in filterFunction
- Linguagem predominante
- TypeScript
- Estrelas
- 1.6k
- Forks
- 867
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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'}
],
},
},
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.