rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.76k stars 330 forks source link

Custom classes & attributes do not apply to header unless 'sortable' is set #69

Closed ConnorHowell closed 4 years ago

ConnorHowell commented 4 years ago

Classes & attributes do not apply to headers unless they are marked as sortable. https://github.com/rappasoft/laravel-livewire-tables/blob/0f1d11cd99623196f8ae736300a32fd9f77f4415/resources/views/bootstrap-4/includes/columns.blade.php#L4-L26

Not sure of the best way to resolve other than duplicating the following: https://github.com/rappasoft/laravel-livewire-tables/blob/0f1d11cd99623196f8ae736300a32fd9f77f4415/resources/views/bootstrap-4/includes/columns.blade.php#L6-L10

rappasoft commented 4 years ago

Ah that's a good catch, i'll make a patch in a bit.

Thanks

rappasoft commented 4 years ago

Tagged 0.3.1