Stopping On First Validation Failure

36

$request->validate([
    'title' => 'bail|required|unique:posts|max:255',
    'body' => 'required',
]);

Comments

Submit
0 Comments