Commit 08403b4d by Van

feat(all): update fields type

parent 3ccaf0ca
...@@ -90,7 +90,7 @@ class ContentTypeFile ...@@ -90,7 +90,7 @@ class ContentTypeFile
foreach ($this->keys as $key) { foreach ($this->keys as $key) {
$fields[strtolower($key)] = [ $fields[strtolower($key)] = [
'type' => 'text', 'type' => 'textarea',
'label' => $this->getFieldLabel($key), 'label' => $this->getFieldLabel($key),
'readonly' => true, 'readonly' => true,
'translatable' => true 'translatable' => true
...@@ -123,7 +123,7 @@ class ContentTypeFile ...@@ -123,7 +123,7 @@ class ContentTypeFile
]; ];
$fields[$slugKey] = [ $fields[$slugKey] = [
'type' => 'hidden', 'type' => 'hidden',
'index' => true //'index' => true
]; ];
} }
} }
......
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