File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
bootstrap-4/components/table
bootstrap-5/components/table Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
4
4
5
5
## [ Unreleased]
6
6
7
+ ### Added
8
+
9
+ - Added missing row wire: click to BS4/5 - https://github.com/rappasoft/laravel-livewire-tables/pull/658
10
+
7
11
## [ 1.24.0] - 2022-02-13
8
12
9
13
### Added
Original file line number Diff line number Diff line change 7
7
@endif
8
8
9
9
<tr
10
- {{ $attributes -> merge ($customAttributes ) } }
10
+ {{ $attributes -> merge ($customAttributes )-> merge ([ ' style ' => ( $url || $wireclick ) ? ' cursor: pointer; ' : ' ' ]) } }
11
11
12
12
@if ($url )
13
13
onclick =" window.open('{{ $url } } ', '{{ $target } } ')"
14
- style =" cursor :pointer "
14
+ @elseif ($wireclick )
15
+ wire:click =" {{ $wireclick } }"
15
16
@endif
16
17
>
17
18
{{ $slot } }
Original file line number Diff line number Diff line change 7
7
@endif
8
8
9
9
<tr
10
- {{ $attributes -> merge ($customAttributes ) } }
10
+ {{ $attributes -> merge ($customAttributes )-> merge ([ ' style ' => ( $url || $wireclick ) ? ' cursor: pointer; ' : ' ' ]) } }
11
11
12
12
@if ($url )
13
13
onclick =" window.open('{{ $url } } ', '{{ $target } } ')"
14
- style =" cursor :pointer "
14
+ @elseif ($wireclick )
15
+ wire:click =" {{ $wireclick } }"
15
16
@endif
16
17
>
17
18
{{ $slot } }
You can’t perform that action at this time.
0 commit comments