Spatie Media Library plugin not working in livewire form component
I am trying to create a livewire form component using Filament v3 by following https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
I am trying to add a Spatie Media Library field to the form
On the admin panel, it is working fine and shows filepod snippet.
I am using
I am trying to add a Spatie Media Library field to the form
SpatieMediaLibraryFileUpload::make('photo') and shows normal file upload field which fails validation on submit (Probably because of changes to file field by Spatie plugin).On the admin panel, it is working fine and shows filepod snippet.
I am using
app layout of Filament v3 with all Filament styles & scripts injected.

Solution
Removing the manual entry for
Alpine.start() in resources/js/app.js fixed the issue.