primevue icon indicating copy to clipboard operation
primevue copied to clipboard

AutoComplete/MultiSelect: Custom template chip not working correctly

Open philippstappert opened this issue 6 months ago • 5 comments

Describe the bug

When using the <template #chip></template> in AutoComplete and MultiSelect, the chip around isn't displayed any more. If i don't specify the template, the chips do work. I was migrating from v3 (which had working chip templates) to v4.

Reproducer

https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-ejglwp?file=src%2FApp.vue

PrimeVue version

4.0.1

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

See my example. The top MultiSelect shows the chips correctly, the bottom one has a template and doesn't. Same thing with AutoComplete.

Expected behavior

No response

philippstappert avatar Jul 25 '24 13:07 philippstappert