Commit db5cf4d8 by Bagus Pambudi

hilangin required title update

parent ec8b9c40
......@@ -259,7 +259,7 @@ class InformationController extends Controller
$request['title_zh'] = strip_tags($request->title_zh);
$request->validate([
'title' => 'required',
// 'title' => 'required',
'content' => 'required|min:3',
'event_date' => 'required',
'keys' => 'max:100'
......
......@@ -258,7 +258,7 @@ class PageController extends Controller
$request['title_en'] = strip_tags($request->title_zh);
$request->validate([
'title' => 'required',
// 'title' => 'required',
'content' => 'required|min:3',
'keys' => 'max:100'
], [
......
......@@ -368,7 +368,7 @@ class PostController extends Controller
$request['title'] = strip_tags($request->title_zh);
$request->validate([
'title' => 'required',
// 'title' => 'required',
'categories' => 'required',
'content' => 'required|min:3',
'post_date' => 'required',
......
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