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

[Switch] inputProps should support data-* #25062

Closed
2 tasks done
zj9495 opened this issue Feb 23, 2021 · 1 comment
Closed
2 tasks done

[Switch] inputProps should support data-* #25062

zj9495 opened this issue Feb 23, 2021 · 1 comment
Labels
component: switch This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@zj9495
Copy link

zj9495 commented Feb 23, 2021

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

TypeScript will complain inputProps doesn't support data-*

Expected Behavior 🤔

data-*(or more) should be added to inputProps.

Steps to Reproduce 🕹

https://codesandbox.io/s/material-demo-forked-rdv97?file=/demo.tsx

@zj9495 zj9495 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 23, 2021
@oliviertassinari oliviertassinari added component: switch This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 24, 2021
@oliviertassinari
Copy link
Member

Duplicate of #20160

@oliviertassinari oliviertassinari marked this as a duplicate of #20160 Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: switch This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants