Skip to content

Commit c15c1d1

Browse files
Livewire column doesn't have title() method (rappasoft#2002)
Adjusting Documentation -> The Livewire column type doesn't have the `HasTitleCallback` trait, so you can't use `->title()`.
1 parent c134e6a commit c15c1d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/column-types/livewire_component_column.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ This is **not recommended** as due to the nature of Livewire, it becomes ineffic
1010
## component
1111
```
1212
LivewireComponentColumn::make('Action')
13-
->title(fn($row) => 'Edit')
1413
->component('PathToLivewireComponent'),
1514
1615
```
@@ -29,4 +28,4 @@ Please also see the following for other available methods:
2928
<li>
3029
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
3130
</li>
32-
</ul>
31+
</ul>

0 commit comments

Comments
 (0)