How to use actionRules? #254
-
I read the documentation about the actionRules, I like the idea behind them. I copied the code in the Usage section and I'm getting an "Undefined type: App\Http\Livewire\Rule" on the Rule::rows(). What class do I need to import to use this? Edit: I did some digging in the Powergrid Demo and found that the class to use is However, now that I'm calling that, it says "Undefined type: PowerComponents\LivewirePowerGrid\Rules\Rule" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @JF-626164, What is your PowerGrid version? Action Rules were introduced in v2.2.0. You can also post your code here so we can have a look! |
Beta Was this translation helpful? Give feedback.
-
Welcome to new features! 🤠 Don't forget to have a look at the Upgrade guide: https://livewire-powergrid.com/#/get-started/upgrade-v1?id=upgrade-from-v1 |
Beta Was this translation helpful? Give feedback.
Hi @JF-626164,
What is your PowerGrid version?
Action Rules were introduced in v2.2.0.
You can also post your code here so we can have a look!