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
Order is not working w.r.t the required_with and len tag #1240
Comments
required_if, required_unless,required_with,required_with_all,required_without,required_without_all,excluded_if,excluded_unless,excluded_with,excluded_with_all,excluded_without,excluded_without_all,skip_unless if they meet the criteria for skipping, should skip all subsequent validation。 |
@deankarn Hello, what do you think of this suggestion |
Yes that’s the way I expected those tags to work also, but they aren’t documented that way. gonna have to double check if it ever behaved that way before. Will try to take a look this week, hopefully can find time. |
@deankarn |
it's not conform to the logic of this |
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Question
Code sample, to showcase or reproduce:
so in the above example for DOB we are getting the error as
Error:Field validation for 'Dob' failed on the 'len' tag
but there should have been no errro, if required_with is already in false state.The text was updated successfully, but these errors were encountered: