feat: restrict field types in field creation form (#2680)

This commit is contained in:
Thaïs 2023-11-23 16:49:15 +01:00 committed by GitHub
parent 4f55243b30
commit 1e181c9d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,13 @@ export const SettingsObjectNewFieldStep2 = () => {
/>
<SettingsObjectFieldTypeSelectSection
excludedFieldTypes={[
FieldMetadataType.Currency,
FieldMetadataType.Email,
FieldMetadataType.Enum,
FieldMetadataType.FullName,
FieldMetadataType.Link,
FieldMetadataType.Phone,
FieldMetadataType.Probability,
FieldMetadataType.Relation,
FieldMetadataType.Uuid,
]}