[data grid] Strange behavior when paginationMode
is undefined
#13330
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
feature: Pagination
Related to the data grid Pagination feature
Search keywords
paginationMode undefined
Latest version
Steps to reproduce
Steps:
paginationMode={undefined}
Current behavior
Expected behavior
Context
At first glance this may seem like an edge-case, but it's actually not so uncommon to run into this when writing a wrapper component for the grid and passing through
paginationMode
The solution could be simple:
But I guess this should just work.
I think in the past I've seen other properties misbehaving when explicitly set to
undefined
but I can't recall.Your environment
npx @mui/envinfo
Order ID or Support key 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: