-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support additional repeater and builder actions #8461
Support additional repeater and builder actions #8461
Conversation
…om:yassine-kessal/filament into feature/custom-actions-repeater-field-form
Oupps sorry for commits sync on this branch, let me know if you want me to recreate the PR. |
A little commit to add this feature for Builder form component and be more consistent. |
Thoughts on adding support to builder blocks too? |
This PR covers repeater and builder header actions. |
It sure does, but unless I am missing something it doesn't cover Builder 'Block' actions. |
I do not understand what a block action is, compared to a header action. |
its a header action |
It's a header action of the builder block type yep. This PR only supports header actions on the repeater and the builder header actions not the builder block header actions as far as I can tell. I am asking what your thoughts are on adding it to the Builder Block Header Actions too. |
in your screenshot, they both look like |
So are you asking for block-specific actions that are not added to every block type at once? Because they would look the same as the current solution |
This PR adds the possibility of setting custom actions in the form's reapter field (other than predefined add, clone, etc. actions), using the repeater's registerActions method, example :
Preview :