alexandruu

Results 2 comments of alexandruu

Thanks for the reply, @BenSampo ! I've tried with method messages() and first I didn't know how to target the class EnumValue() from the conditions. After your reply I've tested...

With pipe syntax it's working! Thank you very much, @BenSampo ! `$rules = [ 'input.value' => 'required|enum_value:' . ValueEnum::class];` and method ``` public function messages() { return [ 'input.value.enum_value' =>...