Custom form field and Custom Livewire component
Hello there.
I have a custom form field witch include a custom livewire component and this is loaded on a foreach loop.
The problem is in the first iteration of loop the form its not loading in but just on first iteration.
6 Replies
this is how i call my livewire component
![No description](https://cdn.answeroverflow.com/1259497124391813130/image.png)
this is my livewire component
![No description](https://cdn.answeroverflow.com/1259497256294289488/image.png)
![No description](https://cdn.answeroverflow.com/1259497256579498038/image.png)
and on my first iteration of loop that is what i am seeing on browser
![No description](https://cdn.answeroverflow.com/1259497438952296500/image.png)
on second iteration of loop that is what i am seeing
![No description](https://cdn.answeroverflow.com/1259497569856393296/image.png)
how i call my custome field
![No description](https://cdn.answeroverflow.com/1259498182837145790/image.png)
inside of a form