Possible bug with icon

UI Components for Vue
Post Reply
red-fox-run
Posts: 16
Joined: 17 Apr 2022, 02:46

28 Oct 2022, 01:44

I am trying to use the

Code: Select all

pi-file-export
icon in a SplitButton. The icon doesn't appear. Changing it to any other icons seems to work as intended but not pi-file-export. Is this a known issue? I am on 3.18.0.

Thanks

bahadirsofuoglu
Posts: 30
Joined: 06 Sep 2022, 08:59

31 Oct 2022, 12:57

Hi, You can try this.

Code: Select all

<SplitButton label="Save" icon="pi pi-file-export" @click="save" :model="nestedItems"></SplitButton>

red-fox-run
Posts: 16
Joined: 17 Apr 2022, 02:46

01 Nov 2022, 19:29

I dont see what I have diffrent compared to what you did.

I have a ref like this:

Code: Select all

const buttonItems = ref([
  {
    label: 'Export CSV',
    icon: 'pi pi-file-export',
    command: () => dt.value.exportCSV()
  }
])
This "buttonItems" is set to the :model property. But the icon just doesn't show up. Again, changing the name of the icon to different ones works fine.

GillenS
Posts: 2
Joined: 18 Nov 2022, 08:03

29 Nov 2022, 07:59

That's great. I was impressed by your writing. I am happy to see such a topic. Please come to my blog and read it.


BenefitWallet Sign In

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests