Validating media items in the rules method #800
-
Using the Laravel Media Library package, I was wondering if there is a way to validate the media directly in the static rules method. Right now it is not possible due to the method being static (so calling $this->... won't work). Is there a work around it or should I just stick with a normal form request? |
Beta Was this translation helpful? Give feedback.
Answered by
rubenvanassche
Jun 24, 2024
Replies: 1 comment 1 reply
-
I would just stick to the Form Request method, I had once a working thing but it was too hacky. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bvtrfly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would just stick to the Form Request method, I had once a working thing but it was too hacky.