skyracer2012
skyracer2012
FFilament
Created by pinpointzero on 6/12/2024 in #❓┊help
Filament table in Livewire component!
Did you include the
<x-filament-actions::modals />
<x-filament-actions::modals />
Directive? If they do show up its probably not the fix however.
6 replies
FFilament
Created by skyracer2012 on 5/2/2024 in #❓┊help
Create a livewire component via javascript
https://alpinejs.dev/directives/teleport It seems like query selectors are supported.
4 replies
FFilament
Created by skyracer2012 on 5/2/2024 in #❓┊help
Create a livewire component via javascript
Yep I thought it would be this way. The only problem is that the livewire components then need to be moved to a jspanel like div which gets generated by js. @teleport doesnt support that as far as I know.
4 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
No description
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
Yes I think so, commenting out the App\Providers\Filament\AppPanelProvider::class, solves the issue and that is where I have my tenant route with path being ''
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
My providers array in app.php does have the filament routes at the very end:
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Package Service Providers...
*/
//\Clockwork\Support\Laravel\ClockworkServiceProvider::class,

/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\Filament\AdminPanelProvider::class,
App\Providers\Filament\AppPanelProvider::class,
]
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Package Service Providers...
*/
//\Clockwork\Support\Laravel\ClockworkServiceProvider::class,

/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\Filament\AdminPanelProvider::class,
App\Providers\Filament\AppPanelProvider::class,
]
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
I don't know how route:list actually works (maybe its sorted alphabetically). It will have to see where filament hooks in to define its routes. Maybe someone knows where it does that so I would have to give the web.php priority.
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
As far as I know in laravel if you have routes before a catch-all route, it should work. I however didnt find where filament registers its routes so it must be somewhere before the web.php registration.
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
I have one /admin panel which is not multi tenant and one 'app' which path is:
return $panel
->id('app')
->path('')
->tenant(Project::class)
return $panel
->id('app')
->path('')
->tenant(Project::class)
So the path is ''. That is probably the issue but the routes that dont work are above the 'app' route in the route:list command.
13 replies
FFilament
Created by skyracer2012 on 5/1/2024 in #❓┊help
Routes in web.php don't work if its the top level
With "don't work" I mean it gets a 404 error.
13 replies
FFilament
Created by skyracer2012 on 12/21/2023 in #❓┊help
Change Models loaded in Table
Yea I was really out of touch yesterday. Obviously modifyQueryUsing was what I did now. Thanks!
5 replies
FFilament
Created by skyracer2012 on 10/9/2023 in #❓┊help
Form in Global Search Action
Thanks for the suggestions. I will look and see what I can do.
5 replies
FFilament
Created by skyracer2012 on 9/10/2023 in #❓┊help
Multiple Infolists in Form not rendering when ->live function is being used by any component
I fixed it with just creating a new Livewire component and then rendering the Infolist with the ->toHTML Method and then passing the html into a blade view that renders that html unescaped. The infolist seems to be XSS resistant as far as I tested it. The original issue is still present though. Will mark this as done because I did fix my problem.
6 replies
FFilament
Created by skyracer2012 on 9/10/2023 in #❓┊help
Multiple Infolists in Form not rendering when ->live function is being used by any component
UPDATE: Disableing the view cache fixes the issue. I am still not sure where it comes from.
6 replies
FFilament
Created by skyracer2012 on 9/10/2023 in #❓┊help
Multiple Infolists in Form not rendering when ->live function is being used by any component
I am not sure if this is a bug or some caching feature I however was not able to figure out how and why this happens.
6 replies
FFilament
Created by Mis Tsu on 9/5/2023 in #❓┊help
Redirect panel according to user role
Assuming that you want to redirect to your panel from the index route (/) you can still use a normal laravel web route and based on that redirect further as in https://laravel.com/docs/10.x/routing#basic-routing
4 replies
FFilament
Created by skyracer2012 on 9/5/2023 in #❓┊help
Run Javascript on select change
Thanks! I actually tried afterStateUpdated out but ruled it out because it only worked when clicking save. Didnt think about ->live() thanks!
4 replies