rappasoft / laravel-livewire-tables

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

[Bug]: Variables $filterLayout $tableName $isTailwind $isBootstrap4 $isBootstrap5 $isBootstrap are undefined #1552

Closed GithubEficienciaTributaria closed 7 months ago

GithubEficienciaTributaria commented 7 months ago

What happened?

When you use a SelectFilter in a table, the variables $filterLayout $tableName $isTailwind $isBootstrap4 $isBootstrap5 $isBootstrap are undefined inside the view, triggering an error.

image

How to reproduce the bug

Create a table Create a filters method Create a SelectFilter object inside the returning array.

Package Version

3.1.12

PHP Version

8.2.x

Laravel Version

10.31.0

Alpine Version

3.13

Theme

Bootstrap 5.x

Notes

I tried checking each variable with a dd inside the blade and only the filter variable is not undefined.

Error Message

No response

lrljoe commented 7 months ago

If you have previously published the views, then remove your published copies.

We strongly recommend not publishing the views as they are subject to change.