Skip to content

Missing required parameter for [Route: filament.app.pages.edit-profile] [URI: app/team/{tenant}/edit-profile] [Missing parameter: tenant]. #12019

Discussion options

You must be logged in to vote
here is what I did it works
public function getCancelFormAction(): Action
  {
      return Action::make('cancel')
          ->label(__('Cancel'))
          ->size(ActionSize::Large)
          ->color('gray')
          ->icon('heroicon-o-x-circle')
          ->visible(fn (): bool => auth()->user()?->directories()->exists())
          ->alpineClickHandler('document.referrer ? window.history.back() : (window.location.href = ' . Js::from(Dashboard::getUrl(['tenant' => Filament::getTenant() ?? auth()->user()?->directories()->first()?->slug], panel: 'app')) . ')');
  }

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@devhoussam1998
Comment options

Comment options

You must be logged in to vote
3 replies
@devhoussam1998
Comment options

@micraux
Comment options

@devhoussam1998
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by devhoussam1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants