Adds autoComplete attribute to forms that were missing it (#14080)

This commit is contained in:
Michael Abashian
2023-07-28 09:49:36 -04:00
committed by GitHub
parent 7838641215
commit 35a576f2dd
7 changed files with 7 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ function AdHocCredentialStep({ credentialTypeId }) {
{meta.touched && meta.error && ( {meta.touched && meta.error && (
<CredentialErrorAlert variant="danger" isInline title={meta.error} /> <CredentialErrorAlert variant="danger" isInline title={meta.error} />
)} )}
<Form> <Form autoComplete="off">
<FormGroup <FormGroup
fieldId="credential" fieldId="credential"
label={t`Machine Credential`} label={t`Machine Credential`}

View File

@@ -50,7 +50,7 @@ function AdHocDetailsStep({ moduleOptions }) {
: true; : true;
return ( return (
<Form> <Form autoComplete="off">
<FormColumnLayout> <FormColumnLayout>
<FormFullWidthLayout> <FormFullWidthLayout>
<FormGroup <FormGroup

View File

@@ -84,7 +84,7 @@ function AdHocExecutionEnvironmentStep({ organizationId }) {
} }
return ( return (
<Form> <Form autoComplete="off">
<FormGroup <FormGroup
fieldId="execution_enviroment" fieldId="execution_enviroment"
label={t`Execution Environment`} label={t`Execution Environment`}

View File

@@ -67,7 +67,7 @@ function MetadataStep() {
return ( return (
<> <>
{fields.length > 0 && ( {fields.length > 0 && (
<Form> <Form autoComplete="off">
<FormFullWidthLayout> <FormFullWidthLayout>
{fields.map((field) => { {fields.map((field) => {
if (field.type === 'string') { if (field.type === 'string') {

View File

@@ -99,7 +99,7 @@ function ExternalTestModal({
</Button>, </Button>,
]} ]}
> >
<Form> <Form autoComplete="off">
<FormFullWidthLayout> <FormFullWidthLayout>
{credentialType.inputs.metadata.map((field) => { {credentialType.inputs.metadata.map((field) => {
const isRequired = credentialType.inputs?.required.includes( const isRequired = credentialType.inputs?.required.includes(

View File

@@ -122,7 +122,7 @@ function ConstructedInventoryHint() {
<br /> <br />
<Panel> <Panel>
<CardBody> <CardBody>
<Form> <Form autoComplete="off">
<b>{t`Constructed inventory examples`}</b> <b>{t`Constructed inventory examples`}</b>
<LimitToIntersectionExample /> <LimitToIntersectionExample />
<FilterOnNestedGroupExample /> <FilterOnNestedGroupExample />

View File

@@ -164,7 +164,7 @@ function NodeTypeStep({ isIdentifierRequired }) {
onUpdateNodeResource={nodeResourceHelpers.setValue} onUpdateNodeResource={nodeResourceHelpers.setValue}
/> />
)} )}
<Form css="margin-top: 20px;"> <Form autoComplete="off" css="margin-top: 20px;">
<FormColumnLayout> <FormColumnLayout>
<FormFullWidthLayout> <FormFullWidthLayout>
{nodeTypeField.value === 'workflow_approval_template' && ( {nodeTypeField.value === 'workflow_approval_template' && (