Repeater

Hi everyone, when I add a new item to the edit form using the Repeater component, I get this error message: "Alpine: Cannot reference "$wire" outside a Livewire component." I need help. Thank you in advance.
5 Replies
Dan Harrin
Dan Harrin2y ago
please send code if its a custom Livewire component please send that too
Klavan
KlavanOP2y ago
Dan Harrin
Dan Harrin2y ago
you have no $tarification public property
Klavan
KlavanOP2y ago
Ok. Thanks Hi, How can we prevent duplicate data using Repeater in a custom livewire component ?
toeknee
toeknee2y ago
You would need to add a custom rule to loop through all elements in the repeater and fail if it already exits
Want results from more Discord servers?
Add your server