diff --git a/moneymgr_web/src/routes/AccountRoute.tsx b/moneymgr_web/src/routes/AccountRoute.tsx index 18e5ecc..e68a9d9 100644 --- a/moneymgr_web/src/routes/AccountRoute.tsx +++ b/moneymgr_web/src/routes/AccountRoute.tsx @@ -2,9 +2,11 @@ import DeleteIcon from "@mui/icons-material/DeleteOutlined"; import DriveFileMoveOutlineIcon from "@mui/icons-material/DriveFileMoveOutline"; import LinkOffIcon from "@mui/icons-material/LinkOff"; import MoreVertIcon from "@mui/icons-material/MoreVert"; +import ClearIcon from "@mui/icons-material/Clear"; import RefreshIcon from "@mui/icons-material/Refresh"; import { IconButton, + InputAdornment, ListItemIcon, ListItemText, TextField, @@ -392,6 +394,19 @@ function MovementsTable(p: { setFilter(e.target.value); }} style={{ padding: "0px", flex: 1 }} + slotProps={{ + input: { + endAdornment: filter.length > 0 && ( + + + setFilter("")}> + + + + + ), + }, + }} />