Validation rules not working with exclude_unless / exclude_if Validation Rule for Resource #3501
Unanswered
airdev-web
asked this question in
Q&A
Replies: 1 comment
-
Boolean submit |
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.
-
Greetings from Belgium !
Description:
Can't use Laravel Validation rules
exclude_unless
(or even withexclude_if
).I need my field
allergens
to be required only if my fieldis_active
istrue
.Following code doesn't seem to work. No error code, but the validation doesn't work.
Detailed steps to reproduce the issue on a fresh Nova installation:
Thanks for the ideas or correct usage,
Romain
Beta Was this translation helpful? Give feedback.
All reactions