mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
Adds autoComplete attribute to forms that were missing it (#14080)
This commit is contained in:
@@ -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`}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ function AdHocDetailsStep({ moduleOptions }) {
|
|||||||
: true;
|
: true;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Form>
|
<Form autoComplete="off">
|
||||||
<FormColumnLayout>
|
<FormColumnLayout>
|
||||||
<FormFullWidthLayout>
|
<FormFullWidthLayout>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
|
|||||||
@@ -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`}
|
||||||
|
|||||||
@@ -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') {
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
@@ -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' && (
|
||||||
|
|||||||
Reference in New Issue
Block a user