@props(['model' => null, 'placeholder' => '', 'align' => 'left']) {{-- Second header row cell: a plain text input wired straight to a Livewire property, living directly under the sort header it filters - replaces the old "search box + dropdowns above the table" bar. For a column backed by a real fixed vocabulary (status, type, a bounded admin-curated list) use th-select-filter.blade.php or x-searchable-select instead - this one is only for genuinely open-ended text (name, phone, city, SKU, invoice/PO number...). Pass no `model` for a column that isn't filterable at all (e.g. Actions, a computed/derived numeric column) and the cell renders empty, keeping the grid aligned with the header row above it. --}} $align === 'right', ])> @if ($model) $align === 'right', ]) /> @endif