Update doc

This commit is contained in:
David Palomares
2021-11-26 11:51:03 +01:00
parent b381929a5f
commit d91ed62143
+2 -1
View File
@@ -169,7 +169,8 @@ They have access to the following customization options:
```php
Filter::make($name, $callback = fn ($query) => $query)
->label($label); // Set custom label text for with the filter, which is otherwise automatically generated based on its name. It supports localization strings.
->label($label) // Set custom label text for with the filter, which is otherwise automatically generated based on its name. It supports localization strings.
->default(); // Set the filter to be applied when no other filter is selected. Only the first default filter is applied.
```
### Reusable Filters