MedicOneSystems / MedicOneSystems/livewire-datatables

Clear Filters on columns

Open
#502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

Hi Everyone.

I have a little trouble with the column filters.

we have two datatable instances. In the first instance I set a filter

image
Table instance 1

Then when I go to other datatable, the filter remains in the same index position
image
Table instance 2

I wanna reset o clear the filter setted before to show the datatable instance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing the issue with two datatable instances, setting a column filter in the first, and switching to the second. Trace where column-filter state is retained, then verify that each instance starts with its own filters or can clear them before display.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.