make date range filter inline
I want to make the date range to be in the same row
right now it looks like the Test To field is below the Test From
here is my filter
Solution:Jump to solution
@roy21 if these are the only fields, you can just add
->columns()
to the Filter
```php
Filter::make('test_date_range')
->columns()
......2 Replies
Solution
@roy21 if these are the only fields, you can just add
->columns()
to the Filter
If you have other fields, you can use all the Layouts available to forms to change the filter layout.
Have a look here too
https://filamentphp.com/docs/3.x/tables/filters/layout#customizing-the-filter-form-schemathanks, I also need to add
->filtersFormColumns(3) to make it better