OrderList: TypeError with empty list #3870
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
With an Empty list I get a TypeError when clicking on the element.
The problem is here:
items[order]
is undefined, because items is an empty array.Reproducer
https://codesandbox.io/s/hopeful-hugle-s6p1rc?file=/src/App.vue
PrimeVue version
3.26.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No TypeError.
The text was updated successfully, but these errors were encountered: