You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is from the framework as such because if you put in model $rules = []; it works but in validator::make method doesnt exist
amg this happend cause images are optional uploads but need a especific dimensions, when you try to save the images without "sometimes" validation the images becomes in required image , maybe i was doing it bad :D
without sometimes
with sometimes
well i Hard-code the trait doing this ** jajaja
The text was updated successfully, but these errors were encountered:
Maybe you want to change in the traits/ComponentUtils in method OnUpload, when get the model validation rules, do an explode by | and then add the rules in the $validationRules array. Because it throws an error by the Validator rule "nullable|image|max:4000" method not found. In my case i wanted to change the avatar of the RaiLab.User.
I think this is from the framework as such because if you put in model $rules = []; it works but in validator::make method doesnt exist
amg this happend cause images are optional uploads but need a especific dimensions, when you try to save the images without "sometimes" validation the images becomes in required image , maybe i was doing it bad :D
without sometimes
with sometimes
well i Hard-code the trait doing this ** jajaja
The text was updated successfully, but these errors were encountered: