1
0
Fork 0
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:
matias-portainer 2023-10-27 10:35:10 -03:00 committed by GitHub
parent 9e60723e4d
commit f10356641a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -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 }) => (
<>