File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
resources/views/bootstrap-4/includes Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class="form-control"
27
27
/>
28
28
@if ($clearSearchButton )
29
29
<div class =" input-group-append" >
30
- <button class =" btn btn-outline-dark " type =" button" wire:click =" clearSearch" >@lang (' laravel-livewire-tables::strings.clear' )</button >
30
+ <button class =" {{ $clearSearchButtonClass } } " type =" button" wire:click =" clearSearch" >@lang (' laravel-livewire-tables::strings.clear' )</button >
31
31
</div >
32
32
</div >
33
33
@endif
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ trait Search
42
42
*/
43
43
public $ clearSearchButton = false ;
44
44
45
+ /**
46
+ * The class applied to the clear button
47
+ *
48
+ * @var bool
49
+ */
50
+ public $ clearSearchButtonClass = false ;
51
+
45
52
/**
46
53
* Resets the search string.
47
54
*/
You can’t perform that action at this time.
0 commit comments