ExcludeIf validator should also accept booleans and closures as inputs. #1062
MarognaLorenzo
started this conversation in
Ideas
Replies: 1 comment
-
Feel free to PR such thing! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to the documentation of Laravel https://laravel.com/docs/12.x/validation#rule-exclude-if:
This behavior is not replicated, and it would allow for more complex validation logic: here is an example on how it would be nice to use it:
Beta Was this translation helpful? Give feedback.
All reactions