Livewire v3 support #23
-
Wondered if there was a plan on upgrading this package to support Livewire v3? I attempted to update it but I stumbled across an issue where |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I've been trying to update the package by myself but ending with getting the results variable with an array of null objects... maybe @joshhanley can illuminate a bit what's goin on in the new v3 hehe... chunk of code of the autocomplete.blade.php component updated from upgrade guide v3:
I've also upgrade some other code but no luck with this I have created a fork in my github account, if anyone want to take a closer look... |
Beta Was this translation helpful? Give feedback.
-
@gizzmojo yep, I do plan to upgrade it, just been busy working on Livewire V3 at the moment. @Edgarborras94 thanks for giving it a go! It's possible some of the Livewire methods I use to get the data aren't compatible with V3 (as they weren't documented methods). Also this autocomplete was built with using Eloquent Collection binding in mind, which we don't recommend using in V3. I have been working on a new version of this package, which I think will work with V3 without any changes and isn't centred around Eloquent Collections. But the problem is, it's a different API, so I'm not sure yet how to version it, being that I never actually tagged V1 of this package. That being said if we can easily get this version of it compatible with V3, then I'll happily tag a new version with V3 support. |
Beta Was this translation helpful? Give feedback.
PR done: #24 I hope everything goes well!!