diff --git a/resources/views/bootstrap-4/includes/options.blade.php b/resources/views/bootstrap-4/includes/options.blade.php
index 200092787..21e92697c 100644
--- a/resources/views/bootstrap-4/includes/options.blade.php
+++ b/resources/views/bootstrap-4/includes/options.blade.php
@@ -27,7 +27,7 @@ class="form-control"
/>
@if ($clearSearchButton)
-
+
@endif
diff --git a/src/Traits/Search.php b/src/Traits/Search.php
index 0a019594e..2f05cb97f 100644
--- a/src/Traits/Search.php
+++ b/src/Traits/Search.php
@@ -42,6 +42,13 @@ trait Search
*/
public $clearSearchButton = false;
+ /**
+ * The class applied to the clear button.
+ *
+ * @var bool
+ */
+ public $clearSearchButtonClass = 'btn btn-outline-dark';
+
/**
* Resets the search string.
*/