@props([ 'filters' => [], // array of filters 'tableId' => null // ID of the datatable ])
@foreach($filters as $filter)
@if(isset($filter['label'])) @endif @if($filter['type'] === 'select') @elseif($filter['type'] === 'time') @elseif($filter['type'] === 'text') @endif
@endforeach
@push('js') @endpush