chore: json field now edits string but saves json in db

This commit is contained in:
James
2022-12-15 21:10:56 -05:00
parent 6c7282ec37
commit 8eaf05efef
4 changed files with 50 additions and 5 deletions

View File

@@ -475,7 +475,7 @@ export type FieldWithMaxDepth =
| RelationshipField
export function fieldHasSubFields(field: Field): field is FieldWithSubFields {
return (field.type === 'group' || field.type === 'array' || field.type === 'row' || field.type === 'collapsible' || field.type === 'relationship');
return (field.type === 'group' || field.type === 'array' || field.type === 'row' || field.type === 'collapsible');
}
export function fieldIsArrayType(field: Field): field is ArrayField {