mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Tree: allow filterBy
to be a getter
This commit is contained in:
parent
acfba694f9
commit
42f2c6f969
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