Open kristofferdamborg opened 2 weeks ago
https://stackblitz.com/edit/nce3t7-fwztma?file=src%2FApp.vue
Binding a v-model to the Command component does not work as in the docs (combobox usage example - link). When the v-model (modelValue) is updated the searchTerm is updated with the value of the v-model as well (se video below).
Command
https://github.com/user-attachments/assets/a880ae67-35ae-4b16-8a41-a38e7ec1a2fe
System: OS: macOS 14.6.1 CPU: (12) arm64 Apple M3 Pro Memory: 74.47 MB / 18.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm Browsers: Chrome Canary: 131.0.6726.0
Yes please fix this, I expect the same behavior as in shadcn-ui
Reproduction
https://stackblitz.com/edit/nce3t7-fwztma?file=src%2FApp.vue
Describe the bug
Binding a v-model to the
Command
component does not work as in the docs (combobox usage example - link). When the v-model (modelValue) is updated the searchTerm is updated with the value of the v-model as well (se video below).https://github.com/user-attachments/assets/a880ae67-35ae-4b16-8a41-a38e7ec1a2fe
System Info
Contributes