Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] hideToggleable Action rule is not working #1539

Closed
dansysanalyst opened this issue May 9, 2024 · 2 comments
Closed

[BUG] hideToggleable Action rule is not working #1539

dansysanalyst opened this issue May 9, 2024 · 2 comments
Assignees

Comments

@dansysanalyst
Copy link
Member

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.

CleanShot 2024-05-10 at 01 20 24@2x
a

 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
Copy link
Member Author

I am working on a PR. Should send in the next few days.

@luanfreitasdev
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants