Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: React does not recognize the sortingOrder prop on a DOM element - DataGrid #355

Open
gsparrowpepin opened this issue Mar 16, 2022 · 0 comments

Comments

@gsparrowpepin
Copy link

gsparrowpepin commented Mar 16, 2022

When:

  1. Add a DataGrid component
  2. Perform server-side rendering

Current behavior:

A console warning will appear due to invalid prop forwarding.

Warning: React does not recognize the 'sortingOrder' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'sortingorder' instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Expected behavior:

  • The prop should not be passed to the DOM
  • Console warning should not occur

Environment:

  • node vesrion: 14.19.0
  • npm version: NA
  • yarn version: 1.22.10

Related:

#301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant