Skip to content

Commit

Permalink
Update doc of AshPhoenix.Form.add_error/3 about visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nallwhy committed Dec 19, 2024
1 parent 5b30c97 commit c94f518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ash_phoenix/form/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3256,6 +3256,7 @@ defmodule AshPhoenix.Form do
This can be used for adding errors from different sources to a form. Keep in mind, if they don't match
a field on the form (typically extracted via the `field` key in the error), they won't be displayed by default.
Ensure that the `errors` field of the form is set to `true` if you want the errors to be visible.
See `Ash.Error.to_ash_error/3` for more on supported values for `error`.
Expand Down

0 comments on commit c94f518

Please sign in to comment.