From d91ed6214355e32f6ce5fced5526a5c17087b2bb Mon Sep 17 00:00:00 2001 From: David Palomares Date: Fri, 26 Nov 2021 11:51:03 +0100 Subject: [PATCH] Update doc --- docs/04-tables.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/04-tables.md b/docs/04-tables.md index e720560f19..d423117d75 100644 --- a/docs/04-tables.md +++ b/docs/04-tables.md @@ -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