AshPhoenix nested form not populating
Hello! I ran into an issue with generating nested forms.
I've read through the nested forms docs: https://hexdocs.pm/ash_phoenix/nested-forms.html#defining-the-structure but I can't seem to create a nested form for an optional has_one relationship. I have a resource Submission:
and Submitter:
I've defined the domain extension:
I've tried calling the form generator automatically and manually, but I still can't seem to get the nested form to load. It always comes back as not loaded in the form
I can work around this by loading the forms separately and validating each.
Any tips on loading the nested submitter form?
I've read through the nested forms docs: https://hexdocs.pm/ash_phoenix/nested-forms.html#defining-the-structure but I can't seem to create a nested form for an optional has_one relationship. I have a resource Submission:
and Submitter:
I've defined the domain extension:
I've tried calling the form generator automatically and manually, but I still can't seem to get the nested form to load. It always comes back as not loaded in the form
source.data, and no keys under the form either.I can work around this by loading the forms separately and validating each.
Any tips on loading the nested submitter form?
