mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-21 05:20:26 +08:00
Update doc
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user