feat: set Select field option as default option (#2725)

Closes #2591
This commit is contained in:
Thaïs
2023-11-29 12:19:56 +01:00
committed by GitHub
parent f00c05c342
commit 34a3197fee
14 changed files with 127 additions and 74 deletions
@@ -54,7 +54,8 @@ export const SettingsObjectNewFieldStep2 = () => {
initForm({
relation: {
field: { icon: activeObjectMetadataItem.icon },
objectMetadataId: findObjectMetadataItemByNamePlural('people')?.id,
objectMetadataId:
findObjectMetadataItemByNamePlural('people')?.id || '',
},
});
}, [