Open
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
As seen here: https://codesandbox.io/s/checkboxes-demo-material-ui-forked-61wy40, adding a data-*
prop throws an error:
Type '{ "data-cy": string; }' is not assignable to type 'InputHTMLAttributes'.
Expected behavior 🤔
data-*
props should be allowed, like in the TextField component.
Steps to reproduce 🕹
https://codesandbox.io/s/checkboxes-demo-material-ui-forked-61wy40
Context 🔦
I want to add a data-*
prop for testing.
Your environment 🌎
Latest TS, latest MUI
Metadata
Metadata
Assignees
Projects
Status
No status