Validate just when input is filled in Laravel nova #4024
Unanswered
karimpazoki
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Use |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I want to validate unrequited field just when inputs are filled. So the filed should be required if it's empty. I have field like this:
But when the filed is empty validation return false and shows error message. I also tried nullable() but still doesn't work. Also I tried it without sometimes.
Beta Was this translation helpful? Give feedback.
All reactions