Valcro
Inserting livewire component into a form, how to manage state?
After some research, I can manage the form state by propagating events up to the resource, but feels a bit hacky to me so I ended doing the opposite by creating a livewire component and adding a form to it, that way the form state can be easily managed.
But I'm still intrigued to know how you deal with the situation stated in the thread. Is it possible to manage the state directly within the component?
9 replies