Replies: 1 comment
-
|
I think this question was posted in discord as well. Make sure you have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Form builder
Package Version
v5
Environment
The Problem
I'm using Filament v5 standalone Table Builder in a Livewire component (not
inside a Filament Panel). When I try to paste or drag-drop an image into a
RichEditor field that is inside an Action modal, I get the following
JavaScript error:
Uncaught ReferenceError: $wire is not defined
at c (rich-editor.js?v=5.0.0.0:140:2297)
at Object.finishCallback (rich-editor.js?v=5.0.0.0:140:3313)
at UploadManager.markUploadFinished (livewire.js:740:20)
The image upload starts (shows "Uploading file...") but fails when the upload
completes and the callback tries to use $wire.
My Setup
Livewire Component (app/Livewire/Post.php):
What I've Tried
versa
livewire:publish --assets
fileAttachmentsDirectory(), fileAttachmentsVisibility() to RichEditor
Questions
Alpine.js?
forms with RichEditor?
Additional Context
find $wire
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions