Skip to content

Commit 177e0c6

Browse files
Livewire column doesn't have title() method
The Livewire column type doesn't have the `HasTitleCallback` trait, so you can't use `->title()`. I don't know why there's an edit to the last line. I'm just editing this file through github.com, so maybe their "diff" is confusing EOF characters.
1 parent 9fc6ad8 commit 177e0c6

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)