primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.51k stars 1.23k forks source link

v4.0 SplitButton: Icon does not show up #5561

Open Tschasmine opened 7 months ago

Tschasmine commented 7 months ago

Describe the bug

<SplitButton icon="pi pi-pencil" label="Edit" />

Expected: SplitButton with Icon and Label. Actual: Icon is not displayed

Stackblitz doesn't have the issue, but the primevue website also does not show the icon on split buttons: https://v4.primevue.org/splitbutton/

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-m3x4xr?file=src%2FApp.vue

PrimeVue version

4.0.0-beta.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

<SplitButton icon="pi pi-pencil" label="Edit" />

Expected behavior

SplitButton with Icon and Label.

colinatwork commented 5 months ago

I am also experiencing this in version 3.49.1+. It also seems to be true on the primeVUE website (v3.52.0) here (screenshot attached)

Screenshot 2024-05-23 at 12 27 12 PM