<div class="card shadow">
    <div class="card-header">
        <span class="h6 title-decorative">Filter pracoviska</span>
    </div>
    <div class="card-body">
        <select wire:ignore class="custom-select" wire:model.change.live="kod">
            <option @if(empty($this->kod)) selected="selected" @endif value="">Všetky</option>
            @foreach($pracoviska as $pracovisko)
                <option wire:key="wk-pek-{{ $pracovisko->kod }}"
                        value="{{ $pracovisko->kod }}"
                >{{ $pracovisko->kod }} - {{ $pracovisko->nazov }}</option>
            @endforeach
        </select>
    </div>
</div>
