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

Console warning when using alwaysOn SelectInput in Filter component #4161

Closed
MiMo42 opened this issue Dec 13, 2019 · 2 comments · Fixed by #4174
Closed

Console warning when using alwaysOn SelectInput in Filter component #4161

MiMo42 opened this issue Dec 13, 2019 · 2 comments · Fixed by #4174
Assignees
Labels

Comments

@MiMo42
Copy link
Contributor

MiMo42 commented Dec 13, 2019

What you were expecting:
No console warnings

What happened instead:
Console warning:
Warning: React does not recognize the alwaysOn prop on a DOM element.
It hit me after set alwaysOn prop on a SelectInput within a Filter component.

Steps to reproduce:

Related code:
https://codesandbox.io/s/simple-kld3t

Other information:
As in #4133 alwaysOn prop is not sanitized.

Environment

  • React-admin version: 3.0.4
  • React version: 16.12.0
  • Browser: Chrome
@fzaninotto
Copy link
Member

Reproduced and confirmed, thanks for the report.

@marina9568
Copy link

The same issue with SelectArrayInput.

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

Successfully merging a pull request may close this issue.

3 participants