From 43e1b4a7db777ff3419762f82f3da933010a588c Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Fri, 7 Feb 2020 14:30:33 -0500 Subject: [PATCH] Max host form field tooltip should not enable field --- .../Organization/shared/OrganizationForm.jsx | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx b/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx index 2d1cc69347..249b34e119 100644 --- a/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx +++ b/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx @@ -4,8 +4,7 @@ import { withRouter } from 'react-router-dom'; import { Formik, Field } from 'formik'; import { withI18n } from '@lingui/react'; import { t } from '@lingui/macro'; -import { QuestionCircleIcon } from '@patternfly/react-icons'; -import { Tooltip, Form, FormGroup } from '@patternfly/react-core'; +import { Form, FormGroup } from '@patternfly/react-core'; import { OrganizationsAPI } from '@api'; import { ConfigContext } from '@contexts/Config'; @@ -113,21 +112,12 @@ function OrganizationForm({ organization, i18n, me, onCancel, onSubmit }) { id="org-max_hosts" name="max_hosts" type="number" - label={ - <> - {i18n._(t`Max Hosts`)}{' '} - - - - - } + )} validate={minMaxValue(0, Number.MAX_SAFE_INTEGER, i18n)} me={me || {}} isDisabled={!me.is_superuser}