]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 14:35:07 +0000 (16:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 14:35:07 +0000 (16:35 +0200)
src/app/Magic/Fields/Field.php

index 481ada27253d3082ee8591c094bebcb8f682791e..c8d005286c4bdcfa27e094da863c076df57ac0f0 100644 (file)
@@ -36,7 +36,8 @@ class Field
 
     public function getDefaultAttributes()
     {
-        return ['type' => 'text', 'column' => false, 'form' => 'both', 'rules' => ''];
+        return ['type' => 'text', 'column' => false, 'form' => 'both', 'rules' => ''
+            , 'fillable' => true, 'guarded' => false, 'hidden' => false];
     }
 
     public function __construct($attributes)