Commit eb53be5a by Triyah Fatmawati
parents 021c6f9a db5cf4d8
...@@ -261,7 +261,7 @@ class AgendaController extends Controller ...@@ -261,7 +261,7 @@ class AgendaController extends Controller
$request['title_zh'] = strip_tags($request->title_zh); $request['title_zh'] = strip_tags($request->title_zh);
$request->validate([ $request->validate([
'title' => 'required', // 'title' => 'required',
'content' => 'required|min:3', 'content' => 'required|min:3',
'event_date' => 'required', 'event_date' => 'required',
'keys' => 'max:100' 'keys' => 'max:100'
......
...@@ -259,7 +259,7 @@ class InformationController extends Controller ...@@ -259,7 +259,7 @@ class InformationController extends Controller
$request['title_zh'] = strip_tags($request->title_zh); $request['title_zh'] = strip_tags($request->title_zh);
$request->validate([ $request->validate([
'title' => 'required', // 'title' => 'required',
'content' => 'required|min:3', 'content' => 'required|min:3',
'event_date' => 'required', 'event_date' => 'required',
'keys' => 'max:100' 'keys' => 'max:100'
......
...@@ -258,7 +258,7 @@ class PageController extends Controller ...@@ -258,7 +258,7 @@ class PageController extends Controller
$request['title_zh'] = strip_tags($request->title_zh); $request['title_zh'] = strip_tags($request->title_zh);
$request->validate([ $request->validate([
'title' => 'required', // 'title' => 'required',
'content' => 'required|min:3', 'content' => 'required|min:3',
'keys' => 'max:100' 'keys' => 'max:100'
], [ ], [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment