diff --git a/src/core/components/DataTable/filter/TextFieldWithFnBox/FilterBox.jsx b/src/core/components/DataTable/filter/TextFieldWithFnBox/FilterBox.jsx index 3bba610..92c39e8 100644 --- a/src/core/components/DataTable/filter/TextFieldWithFnBox/FilterBox.jsx +++ b/src/core/components/DataTable/filter/TextFieldWithFnBox/FilterBox.jsx @@ -1,4 +1,4 @@ -import {ClickAwayListener, List, ListItem, ListItemText, Paper, Popper} from '@mui/material'; +import {ClickAwayListener, List, ListItem, ListItemIcon, ListItemText, Paper, Popper} from '@mui/material'; import {useState} from "react"; const columnFilterModeOptionFa = { @@ -10,6 +10,15 @@ const columnFilterModeOptionFa = { fuzzy: "فازی", } +const columnFilterModeOptionSymbol = { + equals: "=", + notEquals: "≠", + contains: "*", + lessThan: "<", + greaterThan: ">", + fuzzy: "≈", +} + function FilterBox({ anchorEl, open = false, handleClose = () => { }, columnFilterModeOptions, onSelectFilter, defaultFilter @@ -33,6 +42,7 @@ function FilterBox({ handleSelectFilter(option)} selected={option === selectedFilter} sx={{cursor: 'pointer'}}> + {option === columnFilterModeOptionSymbol} ))}