CreateAction not doing anything after click
Hello,
I am trying to add CreateAction to a custom page but when I click on the button it doesn't do anything, not even producing any js error.
View File:
the same works when I call this action from header actions.
could anyone please help me with this? Am I doing anything wrong here?
Thank You. π
4 Replies
Have you tried with a regular
Action
? (not CreateAction
)yes, I have tried with just Action with a unique name, but it still has the same issue.
The action name must be the same as the method name. In your case it should be
CreateAction::make('createNewTrainingEvent')
perfecto.. oh god, thank you very much to both of you.