how can I change chips color in Primeng?

Discussão em 'Angular' iniciado por Da reen, Setembro 11, 2025.

  1. Da reen

    Da reen Guest

    I want to change color chips in primeng,that whenever I select one I get a diffrent color!, can anyone help me how to do that!

    [​IMG]

    my code :

    <p-multiSelect [options]="cars" [(ngModel)]="selectedCars1" [selectionLimit]=3 [panelStyle]="{minWidth:'12em'}"
    [maxSelectedLabels]=2></p-multiSelect>
    <p>Selected Cars: </p>
    <p-chips [(ngModel)]="selectedCars1" ></p-chips>

    Continue reading...

Compartilhe esta Página