-
-
- {formik.touched.auth?.username && formik.errors.auth?.username ? (
-
{formik.errors.auth.username}
- ) : null}
+ {formik?.values?.mode === 'system' ? (
+
+
+
+
+
{http_proxy || '-'}
+
+
+
+
{https_proxy || '-'}
+
+
+
+
{no_proxy || '-'}
+
+
-
-
-
+ ) : null}
+ {formik?.values?.mode === 'on' ? (
+ <>
+
+
+
+ {formik.touched.hostname && formik.errors.hostname ? (
+
{formik.errors.hostname}
+ ) : null}
+
+
+
+
+ {formik.touched.port && formik.errors.port ? (
+
{formik.errors.port}
+ ) : null}
+
+
+
+
-
- {formik.touched.auth?.password && formik.errors.auth?.password ? (
-
{formik.errors.auth.password}
- ) : null}
-
-
-
-
-
- {formik.touched.bypassProxy && formik.errors.bypassProxy ? (
-
{formik.errors.bypassProxy}
- ) : null}
-
+
+
+
+
+ {formik.touched.auth?.username && formik.errors.auth?.username ? (
+
{formik.errors.auth.username}
+ ) : null}
+
+
+
+
+
+
+
+ {formik.touched.auth?.password && formik.errors.auth?.password ? (
+
{formik.errors.auth.password}
+ ) : null}
+
+
+
+
+
+ {formik.touched.bypassProxy && formik.errors.bypassProxy ? (
+
{formik.errors.bypassProxy}
+ ) : null}
+
+ >
+ ) : null}