nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.05k stars 513 forks source link

when using the UCommandPalette I click on one item and all get selected #2202

Closed jbiddulph closed 1 month ago

jbiddulph commented 1 month ago

Description

Please help, I would like to add an item to my array when I click on one, at the moment, when I click on an item, all get selected, here is my code: `

`

benjamincanac commented 1 month ago

Did you specify an id in each of your items like on https://ui.nuxt.com/components/command-palette#usage? You can change this field through the by prop.

benjamincanac commented 1 month ago

Feel free to reopen if it didn't solve your issue.