@if(method_exists($this, 'availableFilters') && count($this->availableFilters()) > 0)
    @foreach($this->availableFilters() as $name => $filter)
        <select class="border rounded-md border-gray-300 text-sm" wire:model.live="filters.{{ $name }}">
            <option value="">{{ $filter['label'] }}</option>
            @foreach($filter['options'] as $value => $label)
                <option value="{{ $value }}">{{ $label }}</option>
            @endforeach
        </select>
    @endforeach
@endif
