Why in v3 action method donot call another function
this is my code
i am trying to call "fillFormFields() " function when i click on generate button thenn it donot call fillformfield function,
it works in v2 but now it doesnot work on v3
any one can help
8 Replies
The method you're calling is "fillFormFields1", not "fillFormFields" - there's a "1" at the end.
now?
please any one tell me in between action how call another function
Is it a modal? Would you like to use
mountUsing
?
https://filamentphp.com/docs/3.x/actions/modals#executing-code-when-the-modal-opensnosir it is not a modal
so this is a redirect to the create page. If you want to call a function, you should use the mount method
sir i try to call fillformfields function when i click on generate function
this function is already work on v2 but not work in v3 so tell me what modify i do
I don't know why, but if you have a CreatePage this action should redirect to the create page..
i write this in create page
i have created their a button when i click on that button it should call fillFormFields() function ,for this functionlity i write this code
but it donot call fillFormFields() function
you have any other way