Generate fake form from metadata (#10641)
- add name to form field metadata - extract field generation from object record schema - use field generation to generate field from metadata - add tests
This commit is contained in:
+4
-1
@@ -1,8 +1,11 @@
|
||||
import { FieldMetadataType } from 'twenty-shared';
|
||||
|
||||
import { BaseWorkflowActionSettings } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action-settings.type';
|
||||
|
||||
export type FormFieldMetadata = {
|
||||
label: string;
|
||||
type: string;
|
||||
name: string;
|
||||
type: FieldMetadataType;
|
||||
placeholder?: string;
|
||||
settings?: Record<string, any>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user