mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix(edge/aeec): make edge id generator field mandatory EE-6010 (#10545)
This commit is contained in:
parent
9e60723e4d
commit
f10356641a
4 changed files with 15 additions and 3 deletions
|
@ -19,6 +19,7 @@ const edgePropertiesFormInitialValues: ScriptFormValues = {
|
|||
edgeGroupsIds: [],
|
||||
group: 0,
|
||||
tagsIds: [],
|
||||
edgeIdGenerator: '',
|
||||
};
|
||||
|
||||
interface Props {
|
||||
|
@ -45,6 +46,7 @@ export function EdgeScriptForm({
|
|||
initialValues={edgePropertiesFormInitialValues}
|
||||
validationSchema={() => validationSchema(isNomadTokenVisible)}
|
||||
onSubmit={() => {}}
|
||||
validateOnMount
|
||||
>
|
||||
{({ values, setFieldValue }) => (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue