Livewire with Laravel Filament Forms Usage: FileUpload Error

Hello everyone, I’m creating a user registration form with Laravel Filament Forms and Livewire. In this form, I am using FileUpload to get the user's avatar. However, when I upload the avatar, it gives a required error, and I am unable to proceed to the next steps of the form. In the console, there are some errors related to Alpine, as shown in the picture. Can anyone help with this?
No description
9 Replies
furkanbardak
furkanbardakOP3w ago
Other Errors in the Console:
No description
Azad Furkan ŞAKAR
If this form is used outside the Filament panel, check if you have not included css vs js files for filament in the layout.
furkanbardak
furkanbardakOP3w ago
Yes, I am using it on the web side outside of the panel, through Livewire. On the other side, I have checked all the situations. Here is the screenshot
No description
furkanbardak
furkanbardakOP3w ago
Thanks btw There is no solution yet. I don't know what to do
Azad Furkan ŞAKAR
You forget to add [at]filamentScripts after your livewireScripts
Azad Furkan ŞAKAR
i use just like this
No description
Azad Furkan ŞAKAR
when i delete [at]filamentScripts, i got same error as like you
furkanbardak
furkanbardakOP3w ago
thank you very much guys 😍

Did you find this page helpful?