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
Is it possible to add a custom validator when specifying the ValidationRules at field level?
Currently when I attempt to add my custom validator 'measurement' as a string I get the following error;
Method Illuminate\Validation\Validator::validateMeasurements does not exist.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
PHP: 8.0.16
Laravel: 9.3.1
Backpack-Crud: 5.0.9
Backpack-Pro:1.0.10
Is it possible to add a custom validator when specifying the ValidationRules at field level?
Currently when I attempt to add my custom validator 'measurement' as a string I get the following error;
Method Illuminate\Validation\Validator::validateMeasurements does not exist.
Beta Was this translation helpful? Give feedback.
All reactions