Remove filter icon from column filter input #53
-
Currently doing it like MuiTableCell: {
styleOverrides: {
root: {
'& .MuiInputBase-root > .MuiSvgIcon-root': {
display: 'none',
},
},
},
}, but I was wondering if there was a way to avoid rendering it to the DOM altogether |
Beta Was this translation helpful? Give feedback.
Answered by
KevinVandy
Aug 31, 2022
Replies: 2 comments 3 replies
-
You can override the mui InputProps on the TextField component entirely if you want. muiTableHeadCellFilterTextFieldProps={{
InputProps: {
startAdornment: null,
endAdornment: null,
}} Problem is you also remove the endAdornment too. |
Beta Was this translation helpful? Give feedback.
2 replies
-
After re-considering the default design, as of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gaspardip
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After re-considering the default design, as of
v0.41.0
, the start icon will only show whenenableColumnFilterModes
is enabled