-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible
Description
Describe the bug
When using a DataTable and the selected model is initialized with an empty array the keyboard navigation is broken until a row is selected
Pull Request Link
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-3t1wqqex?file=src%2FApp.vue
Environment
PrimeVue
Vue version
3.5.21
PrimeVue version
4.4.1
Node version
22.14.0
Browser(s)
No response
Steps to reproduce the behavior
- Use DataTable and initialize the v-model of selection to an empty array
- Tab to the first row
- The Tab action skips the table
Expected behavior
By using the tab key the first row should be selected
Metadata
Metadata
Assignees
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible