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
TextField component props inside uniforms-material are typed using StandardTextFieldProps from @material-ui/core/TextField
Inside material-ui, TextField's props are typed using type TextFieldProps = StandardTextFieldProps | FilledTextFieldProps | OutlinedTextFieldProps;
This results in some props being typed incorrectly, for example variant prop has type "standard" | undefined, while it should be "standard" | "filled" | "outlined" | undefined
Using uniforms-material 3.5.1
The text was updated successfully, but these errors were encountered:
Florian3k
changed the title
Missing/incorrectly typed props in TextField from uniforms-material
Incorrectly typed props in TextField from uniforms-material
Jul 27, 2021
@radekmie Do you maybe know if this was typed like this on purpose or is it simply an oversight? If it's an oversight I'll take over the issue and submit a PR.
TextField
component props insideuniforms-material
are typed usingStandardTextFieldProps
from@material-ui/core/TextField
Inside material-ui,
TextField
's props are typed usingtype TextFieldProps = StandardTextFieldProps | FilledTextFieldProps | OutlinedTextFieldProps;
This results in some props being typed incorrectly, for example
variant
prop has type"standard" | undefined
, while it should be"standard" | "filled" | "outlined" | undefined
Using
uniforms-material 3.5.1
The text was updated successfully, but these errors were encountered: