-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RichEditor image upload fails in modals #11004
Comments
I get no errors with version 3.2.14. Could you maybe try upgrading and see if that fixes your issue? |
Will check tomorrow and will post an update here 👍 |
@thethunderturner still no luck with v3.2.16 😢 Peek.28-01-2024.09-34.mp4 |
I'm also seeing this error using v3.2.16 when trying to upload a CSV file via ImportAction. Clicking within the "Upload a CSV file" dialog opens the select file window, but selecting an appropriate file results in "Could not find Livewire component in DOM tree" being console logged. Strangely drag and drop works fine and processes the CSV as expected. |
Definitely not the same issue, please open a new one with a reproduction repository |
Whilst creating the reproduction repo I noticed that I hope this helps. Good luck with above issue. |
I tried to reproduce the bug using your repo but had no luck. I also noticed that you tried to upload a WEBP image. I uploaded it, and everything is working well. Check the video bellow for more details Screencast.2024-04-12.09.33.41.mp4 |
weird, I'll try again what's your OS? |
Ubuntu 22.04 and latest Chrome |
Please try to change your .env APP_URL. |
Change to what? |
Might this be the same issue as #14394? |
Package
filament/forms
Package Version
v3.2.10
Laravel Version
v10.41.0
Livewire Version
v3.3.5
PHP Version
PHP 8.1, 8.2, 8.3
Problem description
When using a RichEditor inside a modal (eg. for a relation manager) the image upload feature doesn't work
it uploads the image to the backend but then alpine throws an exception:
Uncaught Could not find Livewire component in DOM tree
Expected behavior
the image preview should show up
Steps to reproduce
composer install
php artisan migrate --seed
php artisan serve
an
Uncaught Could not find Livewire component in DOM tree
exception appears in the browser consoleReproduction repository
https://github.com/fabio-ivona/filament-image-upload-issue
Relevant log output
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: