How to call action from js?
I have a custom script in a custom filament page.
Inside of it, when something happens, i want to open an action.
I'm trying:
but i get:
this is the action, and if i click it's button, it triggers it and the modal gets opened. so i just wanna call the method that opens the action modal via js:
Inside of it, when something happens, i want to open an action.
I'm trying:
but i get:
Uncaught ReferenceError: mountAction is not definedthis is the action, and if i click it's button, it triggers it and the modal gets opened. so i just wanna call the method that opens the action modal via js: