You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dug into this and it seems that it's not working anymore since v2.16.42 (which I find pretty strange that it is just realized now?! Maybe I am totally wrong...).
The reason is that window.livewire returns the Component and not Livewire (just use the browser console to check). This different behavior was introduced in v2.16.41...v2.16.42. If I use a version >= 2.16.42, it works if I manually remove
Hey @SebastianSchoeps! We're sorry to hear that you've hit this issue. 💛
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
Package
filament/filament
Package Version
v2.16.42
Laravel Version
v9.46.0
Livewire Version
v2.10.8
PHP Version
PHP 8.2.0
Problem description
@this
does not work anymore.I dug into this and it seems that it's not working anymore since v2.16.42 (which I find pretty strange that it is just realized now?! Maybe I am totally wrong...).
The reason is that
window.livewire
returns theComponent
and notLivewire
(just use the browser console to check). This different behavior was introduced in v2.16.41...v2.16.42. If I use a version >= 2.16.42, it works if I manually removefrom the files
Maybe this is also related to the error reported at the end of #4880.
I could recreate this on a brand new project without any other changes - just use
window.livewire
at the console.Expected behavior
window.livewire
returnLivewire
and notComponent
Steps to reproduce
window.livewire
at the developer console (result:Component
)window.livewire
at the developer console (result:Livewire
)Reproduction repository
https://github.com/i-guess-its-easier-to-create-this-issue-from-scratch/but-i-will-provide-a-repository-if-you-need-it
Relevant log output
No response
The text was updated successfully, but these errors were encountered: