Skip to content

Commit

Permalink
Implement on Field edition too
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Dec 19, 2024
1 parent 5f357a4 commit 8b47d16
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,12 @@ export const SettingsObjectFieldEdit = () => {
/>
)}
<SettingsDataModelFieldSettingsFormCard
fieldMetadataItem={fieldMetadataItem}
fieldMetadataItem={{
icon: formConfig.watch('icon'),
label: formConfig.watch('label') || 'New Field',
settings: formConfig.watch('settings') || null,
type: fieldMetadataItem.type,
}}
objectMetadataItem={objectMetadataItem}
/>
</Section>
Expand Down

0 comments on commit 8b47d16

Please sign in to comment.