SplitButton: Not rendering icon slot without icon property #4200
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I use the SplitButton and want to render an icon on the default button. To do so, I want to use the icon slot not the property.
So I add the slot, but the slot is only shown if there is also any icon property present.
Shouldn't they be independent of each other?
Reproducer
https://codesandbox.io/p/sandbox/youthful-rgb-hpscmd?welcome=true
PrimeVue version
3.30.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
icon slot should be shown if passed not depending on the icon prop
The text was updated successfully, but these errors were encountered: