data-table-filters icon indicating copy to clipboard operation
data-table-filters copied to clipboard

fix: checkbox filter disappearing fix

Open alexhey1999 opened this issue 7 months ago • 2 comments

This is a potential resolution to the issue of the checkbox component disappearing entirely when the user filters down to the point where no results are returned. I'm not sure if this will have any knock-on effects across the repo.

How to replicate:

  1. Go to https://data-table.openstatus.dev/infinite.
  2. Select Regions in the filter list
  3. Type '1' or any other text that does not have any matches

Fix:

Will no longer return null for the whole component. This way, the options disappear as intended, allowing the user to alter the text input to see more results.

Issue

https://github.com/user-attachments/assets/d48fea92-b160-4768-9a8a-d63fe10b3f41

Fixed Version

https://github.com/user-attachments/assets/126c89a2-8c10-43b8-a3b8-2e3699cf4ee1

alexhey1999 avatar May 04 '25 10:05 alexhey1999

@alexhey1999 is attempting to deploy a commit to the OpenStatus Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 04 '25 10:05 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
data-table-filters ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 11:53am

vercel[bot] avatar May 28 '25 09:05 vercel[bot]

Pushed the changes! Thanks for the contribution @alexhey1999!

mxkaske avatar Aug 07 '25 11:08 mxkaske