Skip to content

field action #415

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

Merged
merged 5 commits into from
Aug 25, 2021
Merged

field action #415

merged 5 commits into from
Aug 25, 2021

Conversation

binaryk
Copy link
Collaborator

@binaryk binaryk commented Aug 25, 2021

Addressing the #413 idea.

Now you can configure an action class for you fields:

field('followers')->actionable(Action::make())

Make sure the action gets the Model as it's second argument.

@binaryk binaryk merged commit 4a2e4d5 into 5.x Aug 25, 2021
@binaryk binaryk deleted the field-action branch August 25, 2021 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant