Skip to content

Commit

Permalink
Adds autoComplete attribute to forms that were missing it (#14080)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabashian authored Jul 28, 2023
1 parent 7838641 commit 35a576f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion awx/ui/src/components/AdHocCommands/AdHocCredentialStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function AdHocCredentialStep({ credentialTypeId }) {
{meta.touched && meta.error && (
<CredentialErrorAlert variant="danger" isInline title={meta.error} />
)}
<Form>
<Form autoComplete="off">
<FormGroup
fieldId="credential"
label={t`Machine Credential`}
Expand Down
2 changes: 1 addition & 1 deletion awx/ui/src/components/AdHocCommands/AdHocDetailsStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function AdHocDetailsStep({ moduleOptions }) {
: true;

return (
<Form>
<Form autoComplete="off">
<FormColumnLayout>
<FormFullWidthLayout>
<FormGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function AdHocExecutionEnvironmentStep({ organizationId }) {
}

return (
<Form>
<Form autoComplete="off">
<FormGroup
fieldId="execution_enviroment"
label={t`Execution Environment`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function MetadataStep() {
return (
<>
{fields.length > 0 && (
<Form>
<Form autoComplete="off">
<FormFullWidthLayout>
{fields.map((field) => {
if (field.type === 'string') {
Expand Down
2 changes: 1 addition & 1 deletion awx/ui/src/screens/Credential/shared/ExternalTestModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function ExternalTestModal({
</Button>,
]}
>
<Form>
<Form autoComplete="off">
<FormFullWidthLayout>
{credentialType.inputs.metadata.map((field) => {
const isRequired = credentialType.inputs?.required.includes(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function ConstructedInventoryHint() {
<br />
<Panel>
<CardBody>
<Form>
<Form autoComplete="off">
<b>{t`Constructed inventory examples`}</b>
<LimitToIntersectionExample />
<FilterOnNestedGroupExample />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function NodeTypeStep({ isIdentifierRequired }) {
onUpdateNodeResource={nodeResourceHelpers.setValue}
/>
)}
<Form css="margin-top: 20px;">
<Form autoComplete="off" css="margin-top: 20px;">
<FormColumnLayout>
<FormFullWidthLayout>
{nodeTypeField.value === 'workflow_approval_template' && (
Expand Down

0 comments on commit 35a576f

Please sign in to comment.