rich06
The POST method is not supported for route login. Supported methods: GET, HEAD.
Is there a fix for this? I upgraded to Filament v3.2.44 and now I cannot log in anymore to the admin panel...
Edit: I fixed this for my installation by re-publishing the Livewire assets . I also added the following to composer.json in the scripts/post-autoload-dump section:-
@php artisan vendor:publish --force --tag=livewire:assets --ansi`21 replies
Table recordUrl() to open a modal?
The action defined on the table is already a
ViewAction
..
I have added the InteractsWithForms
concern and the HasForms
contract and the getTableRecordAction()
is still not called and the rows are still not clickable16 replies
Table recordUrl() to open a modal?
I've added that function however it doesn't get called and the row is non-clickable. Do I need to add something to the blade/page class? The class
extends Page implemenents HasTable
and uses the InteractsWithTable
trait..16 replies
Table recordUrl() to open a modal?
Thanks again - please can you clarify a little (I am pretty new to Filament) - all I have currently is the custom page with a table definition which has a ViewAction defined that just loads a view blade file in a modal when the button is clicked. No form is used (yet!). I just want the same to happen when the user clicks on the row...
16 replies
Add optional parameter to register page - won't render form
I managed to sort this out however discovered in the process that if a custom route is defined in
web.php
that overrides an existing Filament defined route then Livewire tries to load the class under App/LiveWire
when a call back is performed.
This is because it (Livewire's ComponentRegistry) gets passed the route name not the class name for some reason. So when a route name is passed it tries to resolve the class using App/Livewire
as the root so it fails.
Posted as this may help someone else with a similar issue...4 replies
prefix() not working for a Select form field?
looks like it's getting fixed already https://github.com/filamentphp/filament/pull/8199/files
25 replies
SpatieMediaLibrary Image upload weirdness
Thanks - have done that and it made no difference.
However I drilled down into the plugin code and found the reason. When an image is deleted from a collection the
Spatie\MediaLibrary\MediaCollections\Filesystem
class method removeAllFiles()
gets called. As you would expect this call will remove all files in the directory where the uploaded file is stored. In this case the media path generator had placed all the profile images for a user in the same directory so all files got zapped when only a single delete was needed. So this was an implementation bug not an issue with Fil or SML plugin.
Sorry for the noise!21 replies
SpatieMediaLibrary Image upload weirdness
I'm not seeing any console errors and I see the data reaching the LW component ( I tested separately in a custom page) it just when the data is saved to the model things seem to go wrong ...
And yes I'm using the plug-in
"filament/spatie-laravel-media-library-plugin": "^3.0-stable",
21 replies