primefaces / primefaces/primereact

Dropdown, ListBox, MultiSelect: support custom filter function

Open
#1,448 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type: New Feature
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Current behavior

Expected behavior
Dropdown, ListBox and MultiSelect should support filterMatchMode="custom" with a custom filterFunction. Like DataTable and TreeTable do.

Minimal reproduction of the problem with instructions

Please tell us about your environment:

  • React version:
  • PrimeReact version:
    4.2.2

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing how custom filtering is handled in DataTable and TreeTable, then inspect the filtering behavior of Dropdown, ListBox, and MultiSelect. Done means all three components support filterMatchMode="custom" with a custom filterFunction, with behavior consistent with the existing components.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.