Replies: 2 comments 2 replies
-
Why not use |
Beta Was this translation helpful? Give feedback.
2 replies
-
This does not work, since when prepareForSave action is clicked the getFormActions method is executed again before the prepareForSave action callback. So the value of data['prepared'] is still false when actions are rendered again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Panel builder
Package Version
v3.2.72
How can we help you?
We are migrating v2 to v3 and we came across the fact that it seems that
getFormActions
(onApp\Filament\Components\Page\CreateRecord
) gets executed before an action that is defined withingetFormActions
.In v2 we did the following (It's an extremely simplified example):
So, when clicking the prepareForSave, after some processing, the default buttons would show.
How do we migrate this to v3?
Beta Was this translation helpful? Give feedback.
All reactions