Can an action method be invoked in Livewire? I attempted to call an action method within the mount and rendered methods of Livewire, but it doesn't seem to be working.
public function rendered() { $this->register(); } public function register(): Action { return Action::make('register') ->form([ ... ]) ->closeModalByClickingAway(false) ->modalCloseButton(false) ->action( ); }
public function rendered() { $this->register(); } public function register(): Action { return Action::make('register') ->form([ ... ]) ->closeModalByClickingAway(false) ->modalCloseButton(false) ->action( ); }