primefaces / primevue

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

AutoComplete: Combining multiple + dropdown does not work #5881

Open timozander opened 3 weeks ago

timozander commented 3 weeks ago

Describe the bug

In PrimeVue 4, using both multiple and dropdown on the AutoComplete causes a runtime error. As I see it, it's missing a case distinction and uses the wrong ref, which is only set for the non-multiple mode.

This is a regression from PrimeVue 3, where this was a working scenario

grafik

Reproducer

https://stackblitz.com/edit/b1wjx1?file=src%2FApp.vue

PrimeVue version

4.0.0-rc.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

Firefox

Steps to reproduce the behavior

  1. Go to reproduction
  2. Click the "Open dropdown" button
  3. A runtime error appears

Expected behavior

No response

Azoorb commented 3 days ago

Meet the same problem, Autocomplete using both multiple and dropdown is broken. On primevue 4.0.0