I have a Livewire component that calls dynamically nested components. My Livewire parent component loads a template configuration file and assigns variables automatically, creates validation, display templates,…
I am now working on a slightly more complex nested component that requires more complexity such as adding n tasks. The required functions to make this working will have to be declared in the nested component which is fine.
When click the “save” button in the main component, How can I validate and get the data back from the nested component?
Alternatively, it would be great if I could add a trait to the main component at run time but I do not know if that is possible