Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeSelect: emptyMessage not taken into account for filter #6408

Closed
MisterFISHUP opened this issue Apr 17, 2024 · 1 comment · Fixed by #6411 or leoo1992/GeradorQRCode#23
Closed

TreeSelect: emptyMessage not taken into account for filter #6408

MisterFISHUP opened this issue Apr 17, 2024 · 1 comment · Fixed by #6411 or leoo1992/GeradorQRCode#23
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@MisterFISHUP
Copy link

Describe the bug

The emptyMessage is not taken into account for filter.

Reproducer

https://stackblitz.com/edit/spsddb?file=src%2FApp.tsx

PrimeReact version

10.6.2

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Write a TreeSelect with filter enabled, e.g. https://stackblitz.com/edit/spsddb?file=src%2FApp.tsx
  2. add emptyMessage props
  3. Type something in the filter input, the emptyMessage is No available options

Expected behavior

The message is the passed emptyMessage.

@MisterFISHUP MisterFISHUP added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 17, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 17, 2024
@melloware melloware self-assigned this Apr 17, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 17, 2024
melloware added a commit to melloware/primereact that referenced this issue Apr 17, 2024
@melloware
Copy link
Member

Thanks for the report PR submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
2 participants