Fix mui inputProps
This commit is contained in:
		
							parent
							
								
									951c90763a
								
							
						
					
					
						commit
						9ebeb7f12f
					
				
					 2 changed files with 10 additions and 5 deletions
				
			
		|  | @ -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={{ | ||||||
|  |                   inputProps: { | ||||||
|                     role: "searchbox", |                     role: "searchbox", | ||||||
|                     "aria-label": t("emoji_picker_search_placeholder"), |                     "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 }, | ||||||
|  |           inputProps: { | ||||||
|  |             style: { paddingBottom: 0, paddingTop: 0 }, | ||||||
|             "aria-label": props.placeholder, |             "aria-label": props.placeholder, | ||||||
|  |           }, | ||||||
|         }} |         }} | ||||||
|         disabled={props.disabled} |         disabled={props.disabled} | ||||||
|       /> |       /> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue