I have a form_component LiveComponent. Inside it is another LiveComponent. How can I send events from the child to the parent? Specifically I want to update the changeset in the form_component.
This triggers a warning that I don’t have a handle_info in my live view. I know handle_info doesn’t exist for components, so how am I supposed to send a message to the parent?
Aah, and I spoke too soon. This works sometimes, but not always. I haven’t figured out why, but sometimes send_update will hose all the assigns of the parent component, while other times it seems to properly merge the change in with the parent.