-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow blank example #49
Comments
I'll explain it later, for now
|
Hello! thanks for the reply. It looks like keep_blank will always put a blank value, no matter what. Thanks again! |
Sorry, didn't get what do you want, can you show me your use case? here are some examples:
By default, it's equal to pass blank parameters([], '', "", nil, %{}) and don't pass this parameter, |
Hello I can't get the allow_blank validator to work.
Would it be possible to add an example in the doc?
For example:
but sending an empty string still fails the
requires
validationthanks!
The text was updated successfully, but these errors were encountered: