Skip to content

Commit

Permalink
Update PostRequest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 14, 2022
1 parent 14e960d commit f7acbd0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/MicroweberPackages/Post/Http/Requests/PostRequest.php
Expand Up @@ -22,8 +22,15 @@ public function authorize()
*/
public function rules()
{
// todo with multilanguage

$rules = [
// 'title' => 'required', // todo with multilanguage
'title' => 'required|max:500',
'url' => 'max:500',
'description' => 'max:500',
'content_meta_title' => 'max:500',
'content_meta_keywords' => 'max:500',
'original_link' => 'max:500',
];

return $rules;
Expand Down

0 comments on commit f7acbd0

Please sign in to comment.