From b0265b060ba38316eaac3154ebd9e643b03c90ba Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 5 Feb 2021 16:53:38 -0500 Subject: [PATCH] Remove client-side url validator --- .../ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx b/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx index 4dd1b695a4..364d86e58f 100644 --- a/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx +++ b/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx @@ -14,7 +14,7 @@ import { FormColumnLayout } from '../../../components/FormLayout'; import { OrganizationLookup } from '../../../components/Lookup'; import ContentError from '../../../components/ContentError'; import ContentLoading from '../../../components/ContentLoading'; -import { required, url } from '../../../util/validators'; +import { required } from '../../../util/validators'; import useRequest from '../../../util/useRequest'; function ExecutionEnvironmentFormFields({ @@ -74,7 +74,7 @@ function ExecutionEnvironmentFormFields({ label={i18n._(t`Image name`)} name="image" type="text" - validate={url(i18n)} + validate={required(null, i18n)} isRequired tooltip={i18n._( t`The registry location where the container is stored.`