When using Ecto.Changeset.validate_length/3, the error message when the string is less than the minimum characters is “should be at least %{count} character(s)”.
What is the simplest way to replace %{count} with the actual minimum number of characters when the message is passed back as an error?
Also, just curious, is there a reason the function doesn’t insert the count for you?
Thanks!
Axel






















