You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This is the contents of the published config file:
34
34
35
35
return [
36
36
/**
37
-
* Options: tailwind | bootstrap-4.
37
+
* Options: tailwind | bootstrap-4 | bootstrap-5.
38
38
*/
39
39
'theme' => 'tailwind',
40
40
];
@@ -160,6 +160,8 @@ public function getTableRowUrl($row): string
160
160
}
161
161
```
162
162
163
+
**Note:** When you have a clickable row, you might have issues with other clickable items in your cells following the row URL instead of the items action. As of right now I'd advise against using both until there is a better solution.
164
+
163
165
### Using the included blade components in the row view:
164
166
165
167
To create cells, you should use the `<x-livewire-tables::table.cell>` table cell component, which will be rendered to:
@@ -170,7 +172,8 @@ To create cells, you should use the `<x-livewire-tables::table.cell>` table cell
170
172
</td>
171
173
```
172
174
173
-
**Note:** The default `x-livewire-tables::table.row` and `x-livewire-tables::table.cell` default to Tailwind, for Bootstrap specific versions use `x-livewire-tables::bs4.table.row` and `x-livewire-tables::bs4.table.cell`.
175
+
**Note:** The default `x-livewire-tables::table.row` and `x-livewire-tables::table.cell` default to Tailwind, for Bootstrap specific versions use `x-livewire-tables::bs4.table.row` and `x-livewire-tables::bs4.table.cell` for
176
+
Bootstrap 4, or `x-livewire-tables::bs5.table.row` and `x-livewire-tables::bs5.table.cell` for Bootstrap 5.
174
177
175
178
There is also a Tailwind alias of `x-livewire-tables::tw.table.row` and `x-livewire-tables::tw.table.cell` if you want to be specific.
176
179
@@ -325,11 +328,30 @@ The search is a special built-in filter that is managed by the component, but yo
0 commit comments