johncarter
Why is my register page always redirecting to `/users`?
What I am trying to do:
Redirect users to my main dashboard page after registering.
What I did:
My issue/the error:
When logging in users get redirected to
/users
and I don't understand why. The UserResource
has the following restriction:
Logging the Filament::getUrl() in the default RegistrationResponse
returns https://myappname.uk/users
13 replies
Using panel form actions in custom form
I have a custom page in a panel and I want to use the standard panel form view for my form and form actions. Is there a way for me to use the panel view within a custom page and set the actions using
getFormActions()
rather than having to have protected static string $view = 'filament.pages.my-custom-form';
?2 replies
Can I render a custom 403 page within the context of a panel?
The default 403 is a bit jarring to look at when you are navigating around a panel.Is there a way I can render a 403 within the context of a panel? I basically just want the panel layout, or even just the panels custom theme CSS to be available in
errors/403.blade.php
. I tried using a panel components like <x-filament-panels:layout.base>
but they are all are missing their class methods / context.3 replies
Action button not updating with `isProcessing`
I have a panel where I am displaying a custom Livewire component that has a table and action. But the action doesn't react to the
isProcessing
alpine prop that is toggled on when a file is uploading.
2 replies
Is it possible to render a table component inside a form component?
I want to render a table of model records that use the selected rows to save a relationship.
A relation manager doesn't work because i want to show a table of all possible records that i can attach to, not a searchable select with a table that shows existing relationships.
Any ideas?
Any ideas?
5 replies
Make Relation Manager reactive?
I would like to alter the query that a relationship manager uses based on the user input on a form. Is that possible? I have seen https://filamentphp.com/docs/3.x/panels/resources/relation-managers#passing-properties-to-relation-managers but I am unclear on how I pass these dynamically.
I'd appreciate any help.
2 replies
How do I redirect a user after login based on the panel they are allowed to view?
I have 2 panels:
I want to say, if you can view the Cp then redirect there, else redirect to the frontend. I have this in
app/Http/Responses/LoginResponse.php
6 replies