$wire is not defined when using FileUpload in custom TALL app outside Panel

I have installed the Filament Form in my custom TALL stack. I followed the instructions in the documentation, but I encountered this error when trying to use the FileUpload field (other fields seem normal). I tested the FileUpload inside the panel and encountered no errors, but it showed an error when using it outside the panel and the filepond not showing.
Solution:
Can you try remove Alpine.start() and move window.Alpine = Alpine; at the bottom edit: also remove alpine import....
Jump to solution
13 Replies
LeandroFerreira
LeandroFerreira16mo ago
Can you share the code please?
Ilham Dimas Prayudha
Sure, here is my livewire component code
Ilham Dimas Prayudha
In my livewire/create-item.blade.php
Ilham Dimas Prayudha
In my views/item/create.blade.php
Ilham Dimas Prayudha
In my app.js
Ilham Dimas Prayudha
In my base layout
LeandroFerreira
LeandroFerreira16mo ago
please share the code using #✅┊rules
Ilham Dimas Prayudha
Gist
CreateItem.php
GitHub Gist: instantly share code, notes, and snippets.
Solution
Akcan
Akcan16mo ago
Can you try remove Alpine.start() and move window.Alpine = Alpine; at the bottom edit: also remove alpine import.
Ilham Dimas Prayudha
It works!
Akcan
Akcan16mo ago
Laravel
Installation | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Akcan
Akcan16mo ago
this is why i suggest that. Good luck happy coding ❤️
Ilham Dimas Prayudha
Thank you so much
Want results from more Discord servers?
Add your server