We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Yes, I did not find it.
Yes - I didn't work.
No
8.2.9
5.1.0
10.24.0
3.0.5
No response
Tailwind 3.x
When I have more than one button and I have rules for them, the rules are being applied to all buttons
public function actions(Dish $dish): array { return [ Button::add('edit') ->slot('edit'), Button::add('destroy') ->slot('Destroy'), ]; } public function actionRules(): array { return [ Rule::button('edit') ->when(fn ($dish) => $dish->id == 2) ->setAttribute('class', 'bg-green-200'), Rule::button('destroy') ->when(fn ($dish) => $dish->id == 2) ->slot('Delete #1'), ]; }
The text was updated successfully, but these errors were encountered:
Thanks for looking into this issue! A bug fix is coming up.
Sorry, something went wrong.
Fixed
No branches or pull requests
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.9
PowerGrid
5.1.0
Laravel
10.24.0
Livewire
3.0.5
Alpine JS
No response
Theme
Tailwind 3.x
Describe the bug.
When I have more than one button and I have rules for them, the rules are being applied to all buttons
To Reproduce...
Extra information
No response
The text was updated successfully, but these errors were encountered: