create record wip
This commit is contained in:
@@ -24,6 +24,7 @@ class FieldModule
|
||||
"name" => $field->name,
|
||||
"type" => $field->type,
|
||||
"rank" => $field->rank,
|
||||
"translatable" => $field->translatable,
|
||||
"props" => json_encode($field->props),
|
||||
"schema_id" => $field->schemaId,
|
||||
];
|
||||
@@ -38,6 +39,7 @@ class FieldModule
|
||||
type: data_get($data, "type"),
|
||||
schemaId: data_get($data, "schema_id"),
|
||||
rank: data_get($data, "rank"),
|
||||
translatable: data_get($data, "translatable"),
|
||||
props: FieldProp::fromDb(
|
||||
data_get($data, "type"),
|
||||
data_get($data, "props"),
|
||||
|
||||
Reference in New Issue
Block a user