We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rule does not work on array when using variable in rule.
Example :
Rule :
'item.*.name' => 'required_unless:item.*.delete,1|string',
name shoud be required on rows where delete field is 0 name shoud be optionnal on rows where delete field is 1
name is always required
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Subject of the issue
Rule does not work on array when using variable in rule.
Your environment
Steps to reproduce
Example :
Rule :
Expected behaviour
name shoud be required on rows where delete field is 0
name shoud be optionnal on rows where delete field is 1
Actual behaviour
name is always required
The text was updated successfully, but these errors were encountered: