fix filter

This commit is contained in:
Wikzyy
2025-03-17 16:59:56 +07:00
parent ce97994299
commit 7772252bab
4 changed files with 24 additions and 20 deletions

View File

@ -17,9 +17,9 @@ const ListToolbar = () => {
<input
type="text"
placeholder="Search Postu"
value={(table.getColumn('posto_adms_name')?.getFilterValue() as string) ?? ''}
value={(table.getColumn('PostoAdms_name')?.getFilterValue() as string) ?? ''}
onChange={(event) =>
table.getColumn('posto_adms_name')?.setFilterValue(event.target.value)
table.getColumn('PostoAdms_name')?.setFilterValue(event.target.value)
}
/>
</label>