Skip to content

Commit ec4c4df

Browse files
committed
Update FormRequest.php
1 parent a1c97cf commit ec4c4df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Http/Requests/FormRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public function rules()
1414
'title.*' => 'nullable|max:255',
1515
'slug.*' => 'nullable|alpha_dash|max:255|required_if:status.*,1|required_with:title.*',
1616
'status.*' => 'boolean',
17-
'summary.*' => 'nullable',
18-
'body.*' => 'nullable',
19-
'address' => 'nullable',
17+
'summary.*' => 'nullable|max:1000',
18+
'body.*' => 'nullable|max:10000',
19+
'address' => 'nullable|max:1000',
2020
'email' => 'nullable|email:rfc,dns|max:255',
2121
'website' => 'nullable|url|max:255',
2222
'phone' => 'nullable|max:255',

0 commit comments

Comments
 (0)