Power-Components / livewire-powergrid

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

Class "PowerComponents\LivewirePowerGrid\Rule" not found #1513

Closed killallskywalker closed 2 months ago

killallskywalker commented 2 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

8.2.0

PowerGrid

5.4.10

Laravel

10.10

Livewire

3.4.10

Alpine JS

3.12.0

Theme

Bootstrap

Describe the bug.

Im trying to use method actionRules for Rule . However it not found any Rule class .

Class "PowerComponents\LivewirePowerGrid\Rule" not found

use PowerComponents\LivewirePowerGrid\Rules\Rule; this are imported already .

To Reproduce...

Use livewire powergrid table and enable or uncomment the actionRules

Extra information

No response

killallskywalker commented 2 months ago

use PowerComponents\LivewirePowerGrid\Facades\Rule use this if you upgrade . My bad did't check on upgrade guide as i fresh installed

killallskywalker commented 2 months ago

use PowerComponents\LivewirePowerGrid\Facades\Rule use this if you upgrade . My bad did't check on upgrade guide as i fresh installed