Skip to content

Commit 35e7188

Browse files
authored
Update creating-filters.md
Correct namespace for importing the Filter classes.
1 parent ee303cd commit 35e7188

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/filters/creating-filters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This method will return an array of filter objects. There are a few filter types
1919
Select filters are a simple dropdown list. The user selects one choice from the list.
2020

2121
```php
22-
use Rappasoft\LaravelLivewireTables\Views\SelectFilter;
22+
use Rappasoft\LaravelLivewireTables\Views\Filters\SelectFilter;
2323

2424
public function filters(): array
2525
{
@@ -43,7 +43,7 @@ You should supply the first option as the default value. I.e. nothing selected,
4343
Multi-select filters are a list of checkboxes. The user can select multiple options from the list. There is also an 'All' option that will select all values.
4444

4545
```php
46-
use Rappasoft\LaravelLivewireTables\Views\MultiSelectFilter;
46+
use Rappasoft\LaravelLivewireTables\Views\Filters\MultiSelectFilter;
4747

4848
public function filters(): array
4949
{
@@ -66,7 +66,7 @@ public function filters(): array
6666
Date filters are HTML date elements.
6767

6868
```php
69-
use Rappasoft\LaravelLivewireTables\Views\DateFilter;
69+
use Rappasoft\LaravelLivewireTables\Views\Filters\DateFilter;
7070

7171
public function filters(): array
7272
{

0 commit comments

Comments
 (0)