Save Search
@if ($errors->first('savedSearchName')) {{ $errors->first('savedSearchName') }} @endif
@if ($this->searchable || $this->filterable)
@if ($this->searchable)
@endif @if ($this->canSaveSearches && $this->hasSearchApplied) Save Search @endif @if (count($this->tableFilters) && $this->filterable) Filters @if ($this->activeFiltersCount) ({{ $this->activeFiltersCount }}) @endif @endif
@if (count($this->savedSearches) && $this->canSaveSearches)
@foreach ($this->savedSearches as $savedSearch)
$this->savedSearch == $savedSearch['key'], ])> {{ $savedSearch['label'] }} @if ($this->savedSearch == $savedSearch['key']) @endif
@endforeach
@endif
@endif @if ($this->filterable)

Bulk Actions

@foreach ($this->bulkActions as $action) @livewire($action->getName(), [ 'label' => $action->label, 'livewire' => $action->getLivewire(), ]) @endforeach

Filters

@foreach ($this->tableFilters as $filter)
{{ $filter }}
@endforeach
@endif @if ($poll)
@endif
@if (count($this->rows)) @if (count($this->bulkActions)) @endif @foreach ($this->columns as $column) @livewire( 'lunar.livewire-tables.components.head', [ 'heading' => $column->getHeading(), 'sortable' => $column->isSortable(), 'field' => $column->field, 'sortField' => $sortField, 'sortDir' => $sortDir, ], key($column->field), ) @endforeach @if (count($this->actions)) @endif @foreach ($this->rows as $row) @if ($this->bulkActions->count()) @endif @foreach ($this->columns as $column) @if ($column->isLivewire()) @elseif($column->isViewComponent()) @else {{ $column->record($row)->render() }} @endif @endforeach @if (count($this->actions)) @endif @endforeach
Selected of {{ $this->rows->count() }} results.
@else @endif
@if ($hasPagination)
{{ $this->rows->links() }}
@endif