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: custom panelHeaderTemplate overrides filterTemplate #6468

Closed
dh4bu opened this issue Apr 24, 2024 · 3 comments · Fixed by #6471 or leoo1992/GeradorQRCode#23
Closed

TreeSelect: custom panelHeaderTemplate overrides filterTemplate #6468

dh4bu opened this issue Apr 24, 2024 · 3 comments · Fixed by #6471 or leoo1992/GeradorQRCode#23
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@dh4bu
Copy link

dh4bu commented Apr 24, 2024

Describe the bug

When you set a custom panelHeaderTemplate and filter is set to true, the custom headerTemplate overrides the filter input

Reproducer

https://stackblitz.com/edit/bty4aa-ucuwab

PrimeReact version

10.6.3

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

Add a custom panelHeaderTemplate and set filter to true

Expected behavior

Both the custom panelHeaderTemlate as well as the filter input should be visible.

@dh4bu dh4bu 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 24, 2024
@Rekl0w
Copy link
Contributor

Rekl0w commented Apr 25, 2024

Can you provide a stackblitz link for this issue please ?

@dh4bu
Copy link
Author

dh4bu commented Apr 25, 2024

@Rekl0w
Copy link
Contributor

Rekl0w commented Apr 25, 2024

PR submitted.

@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 25, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 25, 2024
nitrogenous added a commit that referenced this issue Apr 25, 2024
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
3 participants