[BUG] `hideToggleable` Action rule is not working
dansysanalyst opened this issue · 2 comments
dansysanalyst commented
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
No response
PowerGrid
No response
Laravel
No response
Livewire
No response
Alpine JS
No response
Theme
Tailwind 3.x
Describe the bug.
The Action Rule to hide the Toggleable is not working as expected.
public function actionRules($row): array
{
Rule::rows()
->when(fn ($dish) => $dish->in_stock == false)
->hideToggleable(),
];
}
To Reproduce...
First click on "FOO" then....
Extra information
No response
dansysanalyst commented
I am working on a PR. Should send in the next few days.