File tree Expand file tree Collapse file tree 7 files changed +20
-0
lines changed Expand file tree Collapse file tree 7 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
7
7
### Added
8
8
9
9
- Added Unselect All button on bulk row when selecting page.
10
+ - Added disabled delay on select checkboxes.
11
+ - Added disabled on bulk row button clicks.
10
12
11
13
### Changed
12
14
Original file line number Diff line number Diff line change 11
11
12
12
<button
13
13
wire:click =" resetBulk"
14
+ wire:loading.attr =" disabled"
14
15
type =" button"
15
16
class =" btn btn-primary btn-sm"
16
17
>
@@ -27,6 +28,7 @@ class="btn btn-primary btn-sm"
27
28
28
29
<button
29
30
wire:click =" resetBulk"
31
+ wire:loading.attr =" disabled"
30
32
type =" button"
31
33
class =" btn btn-primary btn-sm"
32
34
>
@@ -44,6 +46,7 @@ class="btn btn-primary btn-sm"
44
46
45
47
<button
46
48
wire:click =" resetBulk"
49
+ wire:loading.attr =" disabled"
47
50
type =" button"
48
51
class =" btn btn-primary btn-sm"
49
52
>
@@ -61,6 +64,7 @@ class="btn btn-primary btn-sm"
61
64
62
65
<button
63
66
wire:click =" selectAll"
67
+ wire:loading.attr =" disabled"
64
68
type =" button"
65
69
class =" btn btn-primary btn-sm"
66
70
>
@@ -69,6 +73,7 @@ class="btn btn-primary btn-sm"
69
73
70
74
<button
71
75
wire:click =" resetBulk"
76
+ wire:loading.attr =" disabled"
72
77
type =" button"
73
78
class =" btn btn-primary btn-sm"
74
79
>
Original file line number Diff line number Diff line change 39
39
<x-livewire-tables::bs4 .table.cell >
40
40
<input
41
41
wire:model =" selected"
42
+ wire:loading.attr.delay =" disabled"
42
43
value =" {{ $row -> {$primaryKey } } }"
43
44
onclick =" event.stopPropagation();return true;"
44
45
type =" checkbox"
Original file line number Diff line number Diff line change 11
11
12
12
<button
13
13
wire:click =" resetBulk"
14
+ wire:loading.attr =" disabled"
14
15
type =" button"
15
16
class =" btn btn-primary btn-sm"
16
17
>
@@ -27,6 +28,7 @@ class="btn btn-primary btn-sm"
27
28
28
29
<button
29
30
wire:click =" resetBulk"
31
+ wire:loading.attr =" disabled"
30
32
type =" button"
31
33
class =" btn btn-primary btn-sm"
32
34
>
@@ -44,6 +46,7 @@ class="btn btn-primary btn-sm"
44
46
45
47
<button
46
48
wire:click =" resetBulk"
49
+ wire:loading.attr =" disabled"
47
50
type =" button"
48
51
class =" btn btn-primary btn-sm"
49
52
>
@@ -61,6 +64,7 @@ class="btn btn-primary btn-sm"
61
64
62
65
<button
63
66
wire:click =" selectAll"
67
+ wire:loading.attr =" disabled"
64
68
type =" button"
65
69
class =" btn btn-primary btn-sm"
66
70
>
@@ -69,6 +73,7 @@ class="btn btn-primary btn-sm"
69
73
70
74
<button
71
75
wire:click =" resetBulk"
76
+ wire:loading.attr =" disabled"
72
77
type =" button"
73
78
class =" btn btn-primary btn-sm"
74
79
>
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ class="form-check-input"
40
40
<x-livewire-tables::bs5 .table.cell class =" align-middle" >
41
41
<input
42
42
wire:model =" selected"
43
+ wire:loading.attr.delay =" disabled"
43
44
value =" {{ $row -> {$primaryKey } } }"
44
45
onclick =" event.stopPropagation();return true;"
45
46
class =" form-check-input"
Original file line number Diff line number Diff line change 11
11
12
12
<button
13
13
wire:click =" resetBulk"
14
+ wire:loading.attr =" disabled"
14
15
type =" button"
15
16
class =" ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium focus:outline-none focus:text-gray-800 focus:underline transition duration-150 ease-in-out"
16
17
>
@@ -27,6 +28,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
27
28
28
29
<button
29
30
wire:click =" resetBulk"
31
+ wire:loading.attr =" disabled"
30
32
type =" button"
31
33
class =" ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium focus:outline-none focus:text-gray-800 focus:underline transition duration-150 ease-in-out"
32
34
>
@@ -44,6 +46,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
44
46
45
47
<button
46
48
wire:click =" resetBulk"
49
+ wire:loading.attr =" disabled"
47
50
type =" button"
48
51
class =" ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium focus:outline-none focus:text-gray-800 focus:underline transition duration-150 ease-in-out"
49
52
>
@@ -61,6 +64,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
61
64
62
65
<button
63
66
wire:click =" selectAll"
67
+ wire:loading.attr =" disabled"
64
68
type =" button"
65
69
class =" ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium focus:outline-none focus:text-gray-800 focus:underline transition duration-150 ease-in-out"
66
70
>
@@ -69,6 +73,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
69
73
70
74
<button
71
75
wire:click =" resetBulk"
76
+ wire:loading.attr =" disabled"
72
77
type =" button"
73
78
class =" ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium focus:outline-none focus:text-gray-800 focus:underline transition duration-150 ease-in-out"
74
79
>
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class="rounded-md shadow-sm border-gray-300 block transition duration-150 ease-i
44
44
<div class =" flex rounded-md shadow-sm" >
45
45
<input
46
46
wire:model =" selected"
47
+ wire:loading.attr.delay =" disabled"
47
48
value =" {{ $row -> {$primaryKey } } }"
48
49
onclick =" event.stopPropagation();return true;"
49
50
type =" checkbox"
You can’t perform that action at this time.
0 commit comments