AshPhoenix potential bug with relationships
I have the following form:
I do get an error if the
All 3 of these fields have a similar relationship on my resource that looks like this:
If I inspect the form, I don't see any errors at all regarding those fields, as if they weren't attributes at all, but I do see the attributes data:
Shouldn't the form show errors about those fields being required?
I do get an error if the
number or plane field is missing, but I don't have any errors for the departure, arrival and alternate fields.All 3 of these fields have a similar relationship on my resource that looks like this:
If I inspect the form, I don't see any errors at all regarding those fields, as if they weren't attributes at all, but I do see the attributes data:
attributes: %{alternate: nil, arrival: nil, departure: nil, number: nil},Shouldn't the form show errors about those fields being required?
