Skip to content

Commit f7acbd0

Browse files
Update PostRequest.php
1 parent 14e960d commit f7acbd0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: src/MicroweberPackages/Post/Http/Requests/PostRequest.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,15 @@ public function authorize()
2222
*/
2323
public function rules()
2424
{
25+
// todo with multilanguage
26+
2527
$rules = [
26-
// 'title' => 'required', // todo with multilanguage
28+
'title' => 'required|max:500',
29+
'url' => 'max:500',
30+
'description' => 'max:500',
31+
'content_meta_title' => 'max:500',
32+
'content_meta_keywords' => 'max:500',
33+
'original_link' => 'max:500',
2734
];
2835

2936
return $rules;

0 commit comments

Comments
 (0)