-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Remote validation only validates the first array element #465
Comments
This should only affect |
This problem seems to come from
|
I am having an issue that seems to be related to this issue.
it will ignore validation on name="question[0][answer][*]" in a form like below:
|
@hadiaec20h
These rules look suspect. .* will be expanded to .0, .1.2 deepening in the input data. I would think by manually defining a .0 rule for either overriding the .* or the .* is overriding the .0 rule. If that makes sense |
The default validation of Laravel doesn't override. I also tested this with the following rules, the issue persist:
it would be a good idea in these situations that the default behavior of JsValidation doesn't work as one would expect. One Could have the option to make the validation ajax only. so every thing would be validated by ajax and the behavior would be exactly what Laravel validation produce; |
@hadiaec20h please open another issue with steps to reproduce |
Subject of the issue
Remote validation will only validate the first item in an array.
Your environment
Steps to reproduce
Expected behaviour
Should fail because
jquery_dev
is not valid - theurl
validation does not permit_
in URLsActual behaviour
Validation passes because it only validates
domain.0
The text was updated successfully, but these errors were encountered: