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

PickList: Templates for sourceFilter and targetFilter not working #17575

Open
4 tasks
infe42 opened this issue Feb 5, 2025 · 0 comments · May be fixed by #17607
Open
4 tasks

PickList: Templates for sourceFilter and targetFilter not working #17575

infe42 opened this issue Feb 5, 2025 · 0 comments · May be fixed by #17607
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@infe42
Copy link

infe42 commented Feb 5, 2025

Describe the bug

The templates for sourceFilter and targetFilter are not working in the PickList component. I tried the old templating method using "pTemplate" and the new templating method using "#". I also tried various spellings including camelCase and lowercase.

The documentation is using lowercase template names on the "Features" Tab and camelCase names on the "API" tab. This is confusing. See: https://primeng.org/picklist

Pull Request Link

#17607

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/github-eps8r4ln?file=src%2Fapp%2Fapp.component.html

Environment

See Stackblitz.

The issue occurs with PrimeNG 18 and Angular 18.2 as well as with PrimeNG 19 and Angular 19.1. I have provided a Stackblitz for PrimeNG 19 and Angular 19.1.

Angular version

19.1.5

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to Stackblitz.
  2. Templates for sourceFilter and targetFilter aren't working in any of the examples.

Expected behavior

The templates should work. The documentation should be clear concerning the template names.

@infe42 infe42 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant