Skip to content

Commit

Permalink
Add available methods for setCustomView
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Nov 1, 2023
1 parent 797b5d7 commit 28f07b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/filters/available-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,15 @@ TextFilter::make('Name')
),
```

### setCustomView
Use a fully custom view for a filter. This will utilise solely your view when rendering this filter. Note that the following methods will no longer apply to a filter using this:
- setCustomFilterLabel
- setFilterLabelAttributes

```php
TextFilter::make('Name')
->setCustomView('text-custom-view'),
```

### Config

Expand Down

0 comments on commit 28f07b3

Please sign in to comment.