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

Select, MultiSelect: Scoped Style not working #17381

Open
1 of 4 tasks
can-oezkan opened this issue Jan 13, 2025 · 0 comments
Open
1 of 4 tasks

Select, MultiSelect: Scoped Style not working #17381

can-oezkan opened this issue Jan 13, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@can-oezkan
Copy link
Contributor

Describe the bug

Not sure if I'm doing anything wrong. But i can't seem to apply scoped tokens to Select or MultiSelect.

<p-select
  [options]="[1, 2, 3, 4, 5]"
  [dt]="{
    root: {
      background: 'red',
    },
  }"
/>

<p-multiselect
  [options]="[1, 2, 3, 4, 5]"
  [dt]="{
    root: {
      background: 'red',
    },
  }"
/>

image

Pull Request Link

No response

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-umrbpb5u?file=src%2Fapp%2Fapp.component.html

Environment

stackblitz

Angular version

v19

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Use p-select or p-multiselect
  2. apply scoped design tokens
  3. not working (see stackblitz example)

Expected behavior

The scoped style should apply

@can-oezkan can-oezkan added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 13, 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

No branches or pull requests

1 participant