@php // Вибираємо тільки активні фільтри (ті, що мають значення і не закінчуються на _checked) $activeFilters = []; if (isset($filters)) { foreach ($filters as $key => $value) { if ($value && !preg_match('/.*_checked$/', $key)) { $activeFilters[$key] = $value; } } } @endphp
@if (!empty($activeFilters))
{{ __('Applied filters') }}
@endif
@include($filterTemplate) @include('livewire.user-filters') {{--
{{ __('If filter has') }} - {{ __('then when saving the values, only those that are selected take part') }}
--}}
@php $border = 'border-gray-300'; if ($errors->has('filterSavedName')) { $border = 'border-red-500'; } @endphp
@if ($htmlContent) @endif