primevue
primevue copied to clipboard
DataTable multiple selection checkboxes broken when aliasing import vue to @vue/compat
Describe the bug
When adding bootstrap-vue to project an alias like below is required:
resolve: { alias: { vue: '@vue/compat', }, }
However, this breaks Primevue DataTable multiple selection checkboxes (see reproducer). Checkboxes are not able to be visually toggled.
Reproducer
https://stackblitz.com/~/github.com/zippitydooda/primevue-bootstrap-checkboxes-reproducer
PrimeVue version
3.51.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
- Go to app
- Try to click on the checkboxes on DataTable
- Checkboxes toggling is broken - the underlying model receives changes but visually the checkboxes remain unselected
Expected behavior
The checkboxes graphical selection state changes along with the model