]> _ Git - pmi.git/commitdiff
#2810
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Jun 2019 16:35:06 +0000 (18:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Jun 2019 16:35:06 +0000 (18:35 +0200)
app/Models/Specification.php

index d1317f498bd2756eef2242893ff0117e18cc03ab..42a6f264628de1dcc3f2b3925e5486cffda7ca03 100644 (file)
@@ -37,10 +37,9 @@ class Specification extends CubistMagicModel
             'label' => 'Options',
             'type' => 'Table',
             'entity_singular' => 'option',
-            'columns' => [
-                'name' => 'Name',
-            ],
+            'columns' => config('backpack.crud.locales'),
             'when' => ['type' => 'list'],
+            'translatable' => false,
         ]);
 
         $this->addField(['name' => 'prefix',
@@ -62,7 +61,7 @@ class Specification extends CubistMagicModel
             'type' => 'Text',
             'when' => ['type' => ['numeric', 'range', 'numeric_list']],
             'translatable' => false,
-            'column'=>true,
+            'column' => true,
         ]);
     }
 }