EditForm - can't submit form action on set on form header actions
if i click on the submit form action (form action) it saves the data
if i click on the submit form action (header action) it does nothing
objective: save the data in the header actions too
2 Replies
Like to know this as well. Or maybe how to 'move' the save button from the bottom to the top.
@joe I was able to achieve this by the following code on e.g. my EditPage.
The
requiresConfirmation
is of course optional.
thank u! @Daniel Plomp
so just copied the function from the vendor to the editform right?
oh now im having the same issue but in the CreateForm
im trying this:
but doesnt work
any ideas why it doesnt work?
im just doing the same as edit, but for create, but when i click the create button to store, it doesnt do anything
i also tried to put this line inside the
getFormActions
fn
and this line, inside the getFormActions
fn works, but inside the getHeaderActions
fn doesnt
why?
what i am missing? 🤔
hi daniel, ive found an issue with this. if the button is in getHeaderActions fn. if u r uploading a file, u can click the button
instead, if the button is in getFormActions, u cant click the button - which is how should act