Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -71,6 +71,7 @@ export enum FormFieldsNameEnum { |
71 | 71 | |
72 | 72 | export const getFormSchemas = ({ |
73 | 73 | transportType, |
74 | + mode, | |
74 | 75 | }: { |
75 | 76 | transportType?: string; |
76 | 77 | mode?: DataActionModeEnum; |
... | ... | @@ -82,6 +83,7 @@ export const getFormSchemas = ({ |
82 | 83 | component: 'Segmented', |
83 | 84 | defaultValue: FunctionTypeEnum.PROPERTIES, |
84 | 85 | required: true, |
86 | + dynamicDisabled: mode !== DataActionModeEnum.CREATE, | |
85 | 87 | componentProps: ({ formActionType }) => { |
86 | 88 | return { |
87 | 89 | options: Object.keys(FunctionTypeEnum).map((key) => ({ | ... | ... |