Hello,
I have more than 20+ fields where the values are required. so manually adding one by one to the property like :
PHP Code:
protected $validationRules = [
'first_name' => ['required'],
'last_name' => ['required'],
];
Is there any other alternative way to do this for all ?