Forbid creation of link field type (#6237)
This is the first step of Link field type deprecation (https://github.com/twentyhq/twenty/issues/5909). Forbid creation of link field type in product and api. Update to this type is not a concern as we do not allow the update of field type.
This commit is contained in:
@ -213,6 +213,7 @@ export const SettingsObjectFieldEdit = () => {
|
||||
<StyledSettingsObjectFieldTypeSelect
|
||||
disabled
|
||||
fieldMetadataItem={activeMetadataField}
|
||||
excludedFieldTypes={[FieldMetadataType.Link]}
|
||||
/>
|
||||
<SettingsDataModelFieldSettingsFormCard
|
||||
disableCurrencyForm
|
||||
|
||||
Reference in New Issue
Block a user