How to create has_one relationships in a nested form
I have a resource called
)
This works:
This gives me an error:
The error inside the changeset:
Transaction that has a has_one relationship with a resource called RecurrencePattern. When creating a new transaction (usually through a form in LV) I want to also create a matching recurrence_pattern. This works great when using the create action directly, but I'm getting an error when using an AshPhoenix.Form (I believe I got it to work at some point but don't know how to get back there again This works:
This gives me an error:
The error inside the changeset:
