diff --git a/lib/ecto/changeset.ex b/lib/ecto/changeset.ex index 3cf456ec58..fa8eeecf5f 100644 --- a/lib/ecto/changeset.ex +++ b/lib/ecto/changeset.ex @@ -2574,7 +2574,7 @@ defmodule Ecto.Changeset do are required. If the value of a field is `nil` or matches any of the values - configured in `changeset.empty_values` (by default `[]` and `""`), + configured in `changeset.empty_values` (by default `""`), the changeset is marked as invalid, the field is removed from the changeset's changes, and an error is added. An error won't be added if the field already has an error.