Fix mui inputProps
parent
951c90763a
commit
9ebeb7f12f
|
@ -76,9 +76,11 @@ const EmojiPicker = (props) => {
|
||||||
variant="standard"
|
variant="standard"
|
||||||
fullWidth
|
fullWidth
|
||||||
sx={{ marginTop: 0, marginBottom: "12px", paddingRight: 2 }}
|
sx={{ marginTop: 0, marginBottom: "12px", paddingRight: 2 }}
|
||||||
inputProps={{
|
InputProps={{
|
||||||
role: "searchbox",
|
inputProps: {
|
||||||
"aria-label": t("emoji_picker_search_placeholder"),
|
role: "searchbox",
|
||||||
|
"aria-label": t("emoji_picker_search_placeholder"),
|
||||||
|
},
|
||||||
endAdornment: (
|
endAdornment: (
|
||||||
<InputAdornment position="end" sx={{ display: search ? "" : "none" }}>
|
<InputAdornment position="end" sx={{ display: search ? "" : "none" }}>
|
||||||
<IconButton size="small" onClick={handleSearchClear} edge="end" aria-label={t("emoji_picker_search_clear")}>
|
<IconButton size="small" onClick={handleSearchClear} edge="end" aria-label={t("emoji_picker_search_clear")}>
|
||||||
|
|
|
@ -824,8 +824,11 @@ const ExpandingTextField = (props) => {
|
||||||
variant="standard"
|
variant="standard"
|
||||||
sx={{ width: `${textWidth}px`, borderBottom: "none" }}
|
sx={{ width: `${textWidth}px`, borderBottom: "none" }}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
style: { fontSize: theme.typography[props.variant].fontSize, paddingBottom: 0, paddingTop: 0 },
|
style: { fontSize: theme.typography[props.variant].fontSize },
|
||||||
"aria-label": props.placeholder,
|
inputProps: {
|
||||||
|
style: { paddingBottom: 0, paddingTop: 0 },
|
||||||
|
"aria-label": props.placeholder,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue