-
Notifications
You must be signed in to change notification settings - Fork 34
Pivot actions with (dependsOn) fields do not work #6837
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
Comments
Please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
Ah sorry, didn't know that's required, I'll create one shortly. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'll add an example tomorrow |
Correction, today 🚀 https://github.com/royduin/nova-bug and the example code: royduin/nova-bug@c56743b
|
With Nova 5.6.0 we're using pivot actions: https://nova.laravel.com/docs/v5/actions/registering-actions#pivot-actions with (dependsOn) fields, but this results in 404 errors on the endpoints being called when the fields change (select something from a dropdown):
As the action can't be found on the resource with
availableActions()
in theActionController.php
. This should also check the pivot actions.Reproduce
ShopResource.php
SortableAction.php
The text was updated successfully, but these errors were encountered: