accordingTab icons not displayed without font-awesome 4

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
aflorin
Posts: 69
Joined: 13 Dec 2017, 19:01

25 Jul 2018, 00:00

I'm using the latest version of PrimeNG(6.0.1) and Avalon (6.0.0) with the new primeng icons (1.0.0-beta.9). Since the new version of primeng doesn't require font-awesome 4, I removed it (looking to upgrade to font-awesome 5). However, the accordion control's expand/collapse icons don't display without font-awesome 4 installed. Note that all other controls (at least the one's I'm using) display the new primeicons correctly.

Also, attempting to change the icons via the expandIcon and collapseIcon attributes had no effect.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

31 Jul 2018, 13:57

We will remove font-awesome icons gradually.
Secondly, I tried expandIcon and collapseIcon attributes and works. Please, could you send me your code?

aflorin
Posts: 69
Joined: 13 Dec 2017, 19:01

01 Aug 2018, 01:13

Thanks,

The accordion is set as follows:

<p-accordion [style]="{'margin-bottom': '10px'}" expandIcon="pi pi-fw pi-caret-right" collapseIcon="pi pi-fw pi-caret-down">

If I remove font-awesome 4, those attributes don't work (no icons are displayed, even if I change them to other icons that work elsewhere). If I keep font-awesome 4, I CAN change the icons.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

28 Aug 2018, 13:42

Sorry for the late reply. We fixed fontawesome-4 issue and we will release Avalon 6.1 today. Please try again after upgrade to 6.1

Post Reply

Return to “Avalon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests