bypass maximum char. when editing the post
momenbasel opened this issue · comments
Moamen Basel commented
you forgot to add assign the maximum value for the post, while validating it
just edit it to:
$this->validate($req, [
'body' => 'required|max:1000'
]);