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

CSS API for SelectInput doesn't match TypeScript types #6423

Closed
nathan-britten opened this issue Jul 8, 2021 · 3 comments · Fixed by #6456
Closed

CSS API for SelectInput doesn't match TypeScript types #6423

nathan-britten opened this issue Jul 8, 2021 · 3 comments · Fixed by #6456

Comments

@nathan-britten
Copy link

What you were expecting:
The CSS API should take a rule name of input as described here https://marmelab.com/react-admin/Inputs.html#selectinput

What happened instead:
However, when we use input we get the type error below:
image

Steps to reproduce:
Add a SelectInput
Add a classes propswith an object with a propert name of input

Related code:
image

image

Other information:
I will be opening a PR for this issue.

Environment

  • React-admin version: 3.16.2
  • Last version that did not exhibit the issue (if applicable):
  • React version: 17.0.2
  • Browser: Firefox 89.0.2
  • Stack trace (in case of a JS error):
@djhi
Copy link
Collaborator

djhi commented Jul 21, 2021

Thanks for the report!

@fzaninotto
Copy link
Member

I believe @djhi closed the issue by mistake

@fzaninotto
Copy link
Member

Now the fix has been merged to master, it can be closed!

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

Successfully merging a pull request may close this issue.

3 participants