Filter by range
Hi, I'm trying to add a filter which filters a numeric value by range. I've given a room size of
24
. I'd like to get all rooms which are bigger than 20 square meter.6 Replies
What did you try so far? If you really like a range I'd suggest using a "Custom" filter with a form and a min/max input field
Cmon. You want help even post in oftopic but don't provide code. So how to even help you?
I tried to apply a function on
Filter
, but that didn‘t work out.
@Dennis Koch You mean that, correct? https://filamentphp.com/docs/3.x/tables/filters#custom-filter-formsI‘ll figure it out when I find it in the docs, but I didn‘t found it by the terms I used 😅
Yes.
Thank you 😁 I guess I‘ll provide a PR to docs to cover „range“ in that part 👍