Juampi
Form in livewire component empty data on create
Im sorry about the images instead of the for the code, i tried but discord complained because i was exceding the characters limit for non turbo users.
Im getting Attempt to read property "circuit" on null, more precisely on the public form function, but only when i submit my form, before that the form generates with all the fields that i get from the api
(i debugged the code and saw that the $record is null not only the circuit variable)
I tried generating my form in a separate function, calling that function in my mount method, saving the array in an instance variable and then call it in my form function, but that didnt even work with static forms.
7 replies