I am getting the same problem... I just had one element in the rules array which was working fine, but I added TWO extra optional elements and now everytime i press submit in the form, I get blank page (if i remove those two elements added, it all works fine)
by elements i mean input fields.
public function rules()
{
$rules = [
'email' => 'required|email',
'name' => 'alpha|min:3',
'location' => 'alpha|min:3',
];
return $rules;
}
PS> i uploaded this to my digital ocean server & I dont get the error there! (On my local, i am using homestead & have also just updated laravel & other vendors to see if that would help)
You're validating the field premiseUse but there is no field with that name in your form.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community