mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 18:19:50 +00:00
forms customization ids
This commit is contained in:
@@ -48,7 +48,7 @@ export const CreateApisForm: FC<TCreateApisFormProps> = ({ namespace, apiGroup,
|
||||
typeName,
|
||||
prefillValueNamespaceOnly: namespace,
|
||||
}}
|
||||
customizationId={`default-${apiGroup}/${apiVersion}/${typeName}`}
|
||||
customizationId={`default-/${apiGroup}/${apiVersion}/${typeName}`}
|
||||
isCreate
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
|
||||
@@ -84,7 +84,7 @@ export const UpdateApisForm: FC<TUpdateApisFormProps> = ({
|
||||
// prefillValuesSchema: { ...noStatusData, metadata },
|
||||
prefillValuesSchema: { ...data, metadata },
|
||||
}}
|
||||
customizationId={`default-${apiGroup}/${apiVersion}/${typeName}`}
|
||||
customizationId={`default-/${apiGroup}/${apiVersion}/${typeName}`}
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
/>
|
||||
|
||||
@@ -44,7 +44,7 @@ export const CreateBuiltinForm: FC<TCreateBuiltinFormProps> = ({ namespace, type
|
||||
typeName,
|
||||
prefillValueNamespaceOnly: namespace,
|
||||
}}
|
||||
customizationId={`default-v1/${typeName}`}
|
||||
customizationId={`default-/v1/${typeName}`}
|
||||
isCreate
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
|
||||
@@ -71,7 +71,7 @@ export const UpdateBuiltinForm: FC<TUpdateBuiltinFormProps> = ({ typeName, entry
|
||||
// prefillValuesSchema: { ...noStatusData, metadata },
|
||||
prefillValuesSchema: { ...data, metadata },
|
||||
}}
|
||||
customizationId={`default-v1/${typeName}`}
|
||||
customizationId={`default-/v1/${typeName}`}
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
/>
|
||||
|
||||
@@ -48,7 +48,7 @@ export const CreateCrdsForm: FC<TCreateCrdsFormProps> = ({ namespace, apiGroup,
|
||||
typeName,
|
||||
prefillValueNamespaceOnly: namespace,
|
||||
}}
|
||||
customizationId={`default-${apiGroup}/${apiVersion}/${typeName}`}
|
||||
customizationId={`default-/${apiGroup}/${apiVersion}/${typeName}`}
|
||||
isCreate
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
|
||||
@@ -84,7 +84,7 @@ export const UpdateCrdsForm: FC<TUpdateCrdsFormProps> = ({
|
||||
// prefillValuesSchema: { ...noStatusData, metadata },
|
||||
prefillValuesSchema: { ...data, metadata },
|
||||
}}
|
||||
customizationId={`default-${apiGroup}/${apiVersion}/${typeName}`}
|
||||
customizationId={`default-/${apiGroup}/${apiVersion}/${typeName}`}
|
||||
backlink={backLink}
|
||||
modeData={modeData}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user