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
You cannot add an Listeners array because it will get ignored. In the LivewireSelect class there is a function called getListeners(). This will overwrite the livewire getListeners() function and replace it with the dependsOn array.
The original livewire getListeners function just returns $this->listeners
So I Currently fixed it by overriding the getListeners function and merge the LivewireSelect array with the original getListeners array
Now you can start using other listeners as well.
If i knew how to make pull requests i would have done it :)
The text was updated successfully, but these errors were encountered:
bfiessinger
added a commit
to bfiessinger/livewire-select
that referenced
this issue
Aug 27, 2021
You cannot add an Listeners array because it will get ignored. In the LivewireSelect class there is a function called getListeners(). This will overwrite the livewire getListeners() function and replace it with the dependsOn array.
The original livewire getListeners function just returns
$this->listeners
So I Currently fixed it by overriding the getListeners function and merge the LivewireSelect array with the original getListeners array
Now you can start using other listeners as well.
If i knew how to make pull requests i would have done it :)
The text was updated successfully, but these errors were encountered: