Table component errors out when prop rows is null #17213
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/umd
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Create a table and pass rows props as null.
Component crashes and error log is displayed on console.
Cannot read properties of undefined (reading 'length').
This works if we pass blank array
What did you expect to happen?
Null or Empty Array should behave exactly the same showing a blank table
Reproduction URL
https://codepen.io/gaurav-jhs04/pen/jOoWjbo
How to reproduce?
Go to the above codepen link. See console.
Flavour
UMD
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome, Microsoft Edge
Quasar info output
No response
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: