mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Merge pull request #6367 from jacobtylerwalls/tree-filter-by-getter
#6374 Tree: allow `filterBy` to be a getter
This commit is contained in:
commit
74074bc020
5 changed files with 9 additions and 9 deletions
|
@ -50,9 +50,9 @@ const TreeProps = [
|
|||
},
|
||||
{
|
||||
name: 'filterBy',
|
||||
type: 'string',
|
||||
type: 'string | ((node: TreeNode) => string)',
|
||||
default: 'label',
|
||||
description: 'When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.'
|
||||
description: 'When filtering is enabled, filterBy decides which field or fields (comma separated) to search against. A callable taking a TreeNode can be provided instead of a list of field names.'
|
||||
},
|
||||
{
|
||||
name: 'filterMode',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue