You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to pass an Input component styled with styled-components into select and getting the warning: Material-UI: you have provided an invalid value to the inputproperty., We expect an element instance of theInput component.
I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
I should be able to pass an Input styled with styled components to Select
warning(
isMuiElement(input, ['Input']),
[
'Material-UI: you have provided an invalid value to the `input` property.',
'We expect an element instance of the `Input` component.',
].join('\n'),
);
I'm trying to pass an
Input
component styled with styled-components into select and getting the warning:Material-UI: you have provided an invalid value to the
inputproperty., We expect an element instance of the
Inputcomponent.
Expected Behavior
I should be able to pass an Input styled with styled components to Select
Current Behavior
Throws warning:
Steps to Reproduce (for bugs)
https://codesandbox.io/s/4qql0opo0w
Context
I'm trying to compose some custom mui elements
Your Environment
The text was updated successfully, but these errors were encountered: