diff --git a/resources/views/bootstrap-4/includes/filter-pills.blade.php b/resources/views/bootstrap-4/includes/filter-pills.blade.php
index 4365ada95..c0bf28cd6 100644
--- a/resources/views/bootstrap-4/includes/filter-pills.blade.php
+++ b/resources/views/bootstrap-4/includes/filter-pills.blade.php
@@ -8,7 +8,12 @@
wire:key="filter-pill-{{ $key }}"
class="badge badge-pill badge-info d-inline-flex align-items-center"
>
- {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}: {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
+ @if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
+ {{ $customFilters[$key]->options()[$value] ?? $value }}
+ @else
+ {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ @endif
- {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}: {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
+ @if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
+ {{ $customFilters[$key]->options()[$value] ?? $value }}
+ @else
+ {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ @endif
- {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}: {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
+ @if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
+ {{ $customFilters[$key]->options()[$value] ?? $value }}
+ @else
+ {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
+ @endif