fix: hide Select field type + display Relation field type only for ed… (#2603)
fix: hide Select field type + display Relation field type only for edition Fixes #2585
This commit is contained in:
@ -203,6 +203,10 @@ export const SettingsObjectNewFieldStep2 = () => {
|
||||
onChange={handleFormChange}
|
||||
/>
|
||||
<SettingsObjectFieldTypeSelectSection
|
||||
excludedFieldTypes={[
|
||||
FieldMetadataType.Enum,
|
||||
FieldMetadataType.Relation,
|
||||
]}
|
||||
fieldMetadata={{
|
||||
icon: formValues.icon,
|
||||
label: formValues.label || 'Employees',
|
||||
|
||||
Reference in New Issue
Block a user