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

@@ -76,9 +76,11 @@ const EmojiPicker = (props) => {
variant="standard"
fullWidth
sx={{ marginTop: 0, marginBottom: "12px", paddingRight: 2 }}
inputProps={{
role: "searchbox",
"aria-label": t("emoji_picker_search_placeholder"),
InputProps={{
inputProps: {
role: "searchbox",
"aria-label": t("emoji_picker_search_placeholder"),
},
endAdornment: (
<InputAdornment position="end" sx={{ display: search ? "" : "none" }}>
<IconButton size="small" onClick={handleSearchClear} edge="end" aria-label={t("emoji_picker_search_clear")}>