rich06
rich06
FFilament
Created by abdullafahem on 2/4/2024 in #❓┊help
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
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
Table recordUrl() to open a modal?
Thanks for that tip - I will try it out when I get back to that development area
16 replies
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
Infolist RepeatableEntry with an Array
Yes it is cast to an array. Is there an example of an Infolist Repeater driven from an array that works so I can see what I'm doing wrong?
4 replies
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
Table recordUrl() to open a modal?
Anyone?
16 replies
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
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 clickable
16 replies
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
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
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
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
FFilament
Created by rich06 on 9/15/2023 in #❓┊help
Table recordUrl() to open a modal?
Thanks but this isn't a resource page it is a custom page with a table
16 replies
FFilament
Created by rich06 on 9/14/2023 in #❓┊help
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
FFilament
Created by rich06 on 8/31/2023 in #❓┊help
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
FFilament
Created by rich06 on 8/31/2023 in #❓┊help
prefix() not working for a Select form field?
Thanks for doing that!
25 replies
FFilament
Created by rich06 on 8/31/2023 in #❓┊help
prefix() not working for a Select form field?
No - nothing happens for prefixIcon() nor prefixAction() as well
25 replies
FFilament
Created by rich06 on 8/31/2023 in #❓┊help
prefix() not working for a Select form field?
No - taking off the suffix makes no difference the prefix is still missing
25 replies
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
SpatieMediaLibrary Image upload weirdness
Thanks for your help!
21 replies
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
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
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
SpatieMediaLibrary Image upload weirdness
"filament/filament": "^3.0-stable", remove it from here as well?
21 replies
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
SpatieMediaLibrary Image upload weirdness
Filament is v3.0.34 - Livewire is v3.0.0
21 replies
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
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
FFilament
Created by rich06 on 8/28/2023 in #❓┊help
SpatieMediaLibrary Image upload weirdness
Thanks for the info which doesn't sound too good... 😦 who maintains the plugin Spatie themselves or someone else?
21 replies