Fix mui inputProps

This commit is contained in:
nimbleghost
2023-05-24 21:08:33 +02:00
parent 951c90763a
commit 9ebeb7f12f
2 changed files with 10 additions and 5 deletions

View File

@@ -824,8 +824,11 @@ const ExpandingTextField = (props) => {
variant="standard"
sx={{ width: `${textWidth}px`, borderBottom: "none" }}
InputProps={{
style: { fontSize: theme.typography[props.variant].fontSize, paddingBottom: 0, paddingTop: 0 },
"aria-label": props.placeholder,
style: { fontSize: theme.typography[props.variant].fontSize },
inputProps: {
style: { paddingBottom: 0, paddingTop: 0 },
"aria-label": props.placeholder,
},
}}
disabled={props.disabled}
/>