Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.48k stars 217 forks source link

$exportActive variable issue in powergrid #1507

Closed VippalaArpita closed 5 months ago

VippalaArpita commented 5 months ago

Have you searched through other issues to see if your problem is already reported or has been fixed?

Yes, I did not find it.

Did you read the documentation?

Yes, I did not find it.

Have you tried to publish the views?

Yes - I didn't work.

Is there an error in the console?

No

PHP Version

7.3

PowerGrid

3.5

Laravel

9.0

Livewire

2.10

Alpine JS

No response

Theme

Tailwind 3.x with tailwind/forms

Describe the bug.

When I create powergrid table its is creating. After integrating it into the blade file I'm getting "Undefined variable $exportActive" exception

To Reproduce...

First click on "FOO" then....

Extra information

<?php
 //...
marineusde commented 5 months ago

please upgrade to PowerGrid 5.x

luanfreitasdev commented 5 months ago

This can happen if you have published views. Removed them and updated to version ^4.0 (livewire v2) and then ^5.0 (livewire v3)

VippalaArpita commented 5 months ago

please upgrade to PowerGrid 5.x

Thanks a lot for the reply. But It requires PHP version 8.1

VippalaArpita commented 5 months ago

This can happen if you have published views. Removed them and updated to version ^4.0 (livewire v2) and then ^5.0 (livewire v3)

Thanq for the reply. I'll try it.