Skip to content

Commit

Permalink
fix: handle nil nested form when carrying over errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 27, 2025
1 parent 1a81654 commit 175066b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ash_phoenix/form/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2246,6 +2246,9 @@ defmodule AshPhoenix.Form do
carry_over_errors(form, further)
end)}

{key, nil} ->
{key, nil}

{key, form} ->
further =
further_path_errors
Expand Down

0 comments on commit 175066b

Please sign in to comment.