File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ class UsersTable extends DataTableComponent
66
66
- [x] Bootstrap 4 Template
67
67
- [x] Bootstrap 5 Template
68
68
- [x] Sorting By Relationships
69
+ - [x] User Column Selection
69
70
- [ ] Collection/Query Support
70
71
- [ ] Test Suite (WIP)
71
72
- [ ] Column Search
Original file line number Diff line number Diff line change 9
9
@if ($column -> isVisible () && $column -> isSelectable () )
10
10
<div >
11
11
<label class =" px-2 {{ $loop -> last ? ' mb-0' : ' mb-1' } }" >
12
- <input wire:model =" columnSelectEnabled" type =" checkbox" value =" {{ $column -> column () } }" >
12
+ <input
13
+ wire:model =" columnSelectEnabled"
14
+ wire:target =" columnSelectEnabled"
15
+ wire:loading.attr =" disabled"
16
+ type =" checkbox"
17
+ value =" {{ $column -> column () } }"
18
+ />
13
19
<span class =" ml-2" >{{ $column -> text () } } </span >
14
20
</label >
15
21
</div >
Original file line number Diff line number Diff line change 9
9
@if ($column -> isVisible () && $column -> isSelectable () )
10
10
<div >
11
11
<label class =" px-2 {{ $loop -> last ? ' mb-0' : ' mb-1' } }" >
12
- <input wire:model =" columnSelectEnabled" type =" checkbox" value =" {{ $column -> column () } }" >
12
+ <input
13
+ wire:model =" columnSelectEnabled"
14
+ wire:target =" columnSelectEnabled"
15
+ wire:loading.attr =" disabled"
16
+ type =" checkbox"
17
+ value =" {{ $column -> column () } }"
18
+ />
13
19
<span class =" ml-2" >{{ $column -> text () } } </span >
14
20
</label >
15
21
</div >
Original file line number Diff line number Diff line change @@ -43,7 +43,13 @@ class="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg z-50"
43
43
@if ($column -> isVisible () && $column -> isSelectable () )
44
44
<div >
45
45
<label class =" px-2 py-1 inline-flex items-center" >
46
- <input wire:model =" columnSelectEnabled" type =" checkbox" value =" {{ $column -> column () } }" >
46
+ <input
47
+ wire:model =" columnSelectEnabled"
48
+ wire:target =" columnSelectEnabled"
49
+ wire:loading.attr =" disabled"
50
+ type =" checkbox"
51
+ value =" {{ $column -> column () } }"
52
+ />
47
53
<span class =" ml-2" >{{ $column -> text () } } </span >
48
54
</label >
49
55
</div >
You can’t perform that action at this time.
0 commit comments