Skip to content

Commit

Permalink
Livewire column doesn't have title() method (#2002)
Browse files Browse the repository at this point in the history
Adjusting Documentation -> The Livewire column type doesn't have the `HasTitleCallback` trait, so you can't use `->title()`.
  • Loading branch information
ChrisThompsonTLDR authored Oct 20, 2024
1 parent c134e6a commit c15c1d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/column-types/livewire_component_column.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ This is **not recommended** as due to the nature of Livewire, it becomes ineffic
## component
```
LivewireComponentColumn::make('Action')
->title(fn($row) => 'Edit')
->component('PathToLivewireComponent'),
```
Expand All @@ -29,4 +28,4 @@ Please also see the following for other available methods:
<li>
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
</li>
</ul>
</ul>

0 comments on commit c15c1d1

Please sign in to comment.