DataTable: when using v-model:selection the checkbox appears checked when the table has no items #2637
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using
v-model:selection
in theDataTable
component, the selection checkbox appears checked even when the table has no items.Reproducer
https://codesandbox.io/s/sharp-dubinsky-c7ifo9?file=/src/App.vue
PrimeVue version
3.12.6
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Any
Steps to reproduce the behavior
v-model:selection
.Expected behavior
If the table has no rows, the selection checkbox should not be checked.
The text was updated successfully, but these errors were encountered: