Primeng: Icon does not appear in p-selectButton

Created on 7 Feb 2018  路  5Comments  路  Source: primefaces/primeng

@vincent
**I'm submitting a ...
[x] bug report

Plunkr Case (Bug Reports)

Current behavior
Does not show icon

Expected behavior
Should shows icon

Please tell us about your environment:
Operating system: Windows 7
IDE: Vscode
npm:5.6.0

  • **Angular version:
    angular: "^5.1.0"
    angular/cli: "^1.6.6"

  • **PrimeNG version:
    "primeng": "^5.2.0-rc.2",

  • **Browser:
    IE11,Mozila Firefox

Language:TypeScript

<p-selectButton [options]="types" [(ngModel)]="selectedType"></p-selectButton>
this.types = [ {label: 'Paypal', value: 'PayPal', icon: 'fa fa-fw fa-cc-paypal'}, {label: 'Visa', value: 'Visa', icon: 'fa fa-fw fa-cc-visa'}, {label: 'MasterCard', value: 'MasterCard', icon: 'fa fa-fw fa-cc-mastercard'} ];

All 5 comments

I can't see why you are mentioning me. I'm neither related to this project nor to this bug.

Besides, I find mention-begging for a response a bit rude. If you're in such an urgent need for a solution, I'm sure there is a professional (meaning: paid) support available somewhere.

The feature was added to recent versions of PrimeNg. Please confirm your package.json for 5.2.x version and perhaps clear your browser cache.

Thank you so much

Skyr:
I'm realy sorry if I bother you. I had no mean by mention you. I was in urgent situation so I thought if I mention all member, somebody can help me sooner. Anyway I apologize you.

Update the PrimeNG version to latest to get this feature please.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

markgoho picture markgoho  路  3Comments

SchneMa picture SchneMa  路  3Comments

Helayxa picture Helayxa  路  3Comments

pchristou picture pchristou  路  3Comments

KannanMuruganmony picture KannanMuruganmony  路  3Comments