Story Problem
#42869
Replies: 2 comments
-
$rules = [ if($request->hasFile('photo')) { Validator::make($request->all(), $rules); this is the solution but how should i do it in my codes? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Guroni Looks like you need to use |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
If the user adds a picture, I want to cancel the min part that requires the story to be written. I want the 'story' => min part to be canceled if the user adds a picture. That is, I want the minimum character input to be canceled when the image is added. If the picture is deleted or the picture format is not suitable (size, extension, etc.), I want the minimum character input to come back.
HomeController.php
Beta Was this translation helpful? Give feedback.
All reactions