diff --git a/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx b/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx index a09eabe86..29fa16105 100644 --- a/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx +++ b/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx @@ -2,6 +2,7 @@ import { FormControl } from '@/portainer/components/form-components/FormControl' import { Input } from '@/portainer/components/form-components/Input'; import { FormSectionTitle } from '@/portainer/components/form-components/FormSectionTitle'; import { SwitchField } from '@/portainer/components/form-components/SwitchField'; +import { TextTip } from '@/portainer/components/Tip/TextTip'; import { OsSelector } from './OsSelector'; import { EdgeProperties } from './types'; @@ -27,19 +28,26 @@ export function EdgePropertiesForm({ /> {!hideIdGetter && ( - - setFieldValue(e.target.name, e.target.value)} - /> - + <> + + setFieldValue(e.target.name, e.target.value)} + /> + + + + PORTAINER_EDGE_ID environment variable is required to + successfully connect the edge agent to Portainer + + )}