diff --git a/app/Http/Controllers/DivisiController.php b/app/Http/Controllers/DivisiController.php index e398682..2d056aa 100644 --- a/app/Http/Controllers/DivisiController.php +++ b/app/Http/Controllers/DivisiController.php @@ -21,7 +21,8 @@ class DivisiController extends Controller $this->validate($request, [ 'name' => 'string|required|unique:m_divisi,name', 'description' => 'nullable|string', - 'parent' => 'nullable|integer' + 'parent' => 'nullable|integer', + 'color'=>'nullable|string|max:10' ]); $data = $request->all();