[DataGrid] Controlled selection example throws multiple selection error #2193
Labels
component: data grid
This is the name of the generic UI component, not the React module!
regression
A bug, but worse
The DataGrid example from the docs for controlled selection works fine on the page and in sand box, but throws an error to the console about requiring a paid version. The Checkbox Selection example above it does not throw an error, while also allowing multiple selections (code sandbox).
Everything functions as expected, but it still logs an error after to this change: https://github.com/mui-org/material-ui-x/pull/1823/files#diff-36939e58755c91e3693a4f18aa7796b137ba1e32f65357a940fb358286048088R247
It just appears that a free feature is suddenly not free, without any warning, despite it not being made clear in the docs and the code still running as expected.
Current Behavior 😯
Selections work fine, but still logs an error.
Expected Behavior 🤔
No error is thrown, like for the Checkbox Selection example
Steps to Reproduce 🕹
Steps:
Context 🔦
I have an app that allows users to select items to batch delete from a database. After
4.0.0-alpha.34
, that started throwing this error.Your Environment 🌎
`npx @material-ui/envinfo`
Order id 💳
The text was updated successfully, but these errors were encountered: