laravel-livewire-tables icon indicating copy to clipboard operation
laravel-livewire-tables copied to clipboard

[Bug]: Problems with clean published views

Open shawe opened this issue 1 year ago • 8 comments

What happened?

I'm having an issue caused by bg-light on tr, that is causing a white color on my dark theme.

But another problem appears if I try to fix it removing this class from your published views. The problem appears only for use the published views, without any modification.

How to reproduce the bug

I run: php artisan vendor:publish --provider="Rappasoft\LaravelLivewireTables\LaravelLivewireTablesServiceProvider" --tag=livewire-tables-views to customize it, but before do any change I try the order action by column.

When I don't have the published views, all is working. But when the view files are published (instead without changes), then problems are appearing only to try reorder by a column.

Package Version

3.4.17

PHP Version

8.2.x

Laravel Version

11.21.0

Alpine Version

Default version included with livewire 3.5.6

Theme

Bootstrap 5.x

Notes

I really don't require to modify the views, but the style classes used in your views are hard-coded on views. Maybe was a better solution to have it on the configuration file, that can allow to all people also set a diferent default style without touching the views.

Error Message

No response

shawe avatar Sep 03 '24 10:09 shawe