{{-- One dynamic filter control, built from the attribute's own definition. Nothing here names a field. An administrator binding "Fuel" to Vehicles gets a working filter on the next page load, which is the whole point of the attribute engine. --}} @php $current = data_get(request('attr', []), $filter['code']); $id = 'filter-'.$filter['code']; $label = $filter['name'].($filter['unit'] ? ' ('.$filter['unit'].')' : ''); @endphp