F
Filamentβ€’3mo ago
Felix

fileUpload break when hidden via javascript

hello everyone, Im am making an livewire component with filament forms. I made multiple forms in it and I use aplineJS to switch from form to form. but when the first page is loaded the first form fileUpload works properly, but when I go to an other forms it doesn't work. the fileUpload shows the uploaded image but shows like it doesn't have it (see images for example). Can some one help me with this.
No description
14 Replies
LeandroFerreira
LeandroFerreiraβ€’3mo ago
Difficult for anyone to assist without any code, clear context, etc
Felix
FelixOPβ€’3mo ago
No description
No description
Felix
FelixOPβ€’3mo ago
Oh sorry, here is some more code, the left is the blade and the right is the form. I also want to say that it is a lot of code so it is not that easy to show every thing. also when I change from one form to another before the Fileupload is loaded, the Fileupload works on the other form but not on the first.
LeandroFerreira
LeandroFerreiraβ€’3mo ago
lot of code so it is not that easy to show every thing Maybe you could create a minimal repo on github to reproduce only this issue, without any unnecessary code
Felix
FelixOPβ€’3mo ago
do you mean putting the code that is relevant to this problem in an small git repo?
LeandroFerreira
LeandroFerreiraβ€’3mo ago
yes
Felix
FelixOPβ€’3mo ago
can I post the git link here?
LeandroFerreira
LeandroFerreiraβ€’3mo ago
yes
Felix
FelixOPβ€’3mo ago
GitHub
GitHub - WY-FD/fileUpload-problem
Contribute to WY-FD/fileUpload-problem development by creating an account on GitHub.
LeandroFerreira
LeandroFerreiraβ€’3mo ago
you should provide a filament project with your code
Felix
FelixOPβ€’3mo ago
Oh, do you mean make an new laravel project with filament, and then put the code in that? And sorry if I sound dumb I am still learning.
LeandroFerreira
LeandroFerreiraβ€’3mo ago
yes, complete, to access the same issue on the browser that you are encountering
Felix
FelixOPβ€’3mo ago
Ok, but that takes a while, and I don't have the time to do it now.
toeknee
toekneeβ€’3mo ago
That's ok, when you have time for support come back πŸ™‚
Want results from more Discord servers?
Add your server