From 4955dd9ab398a1f6f87e7f5d3bf55d23467c9242 Mon Sep 17 00:00:00 2001 From: gconsidine Date: Mon, 2 Oct 2017 17:06:07 -0400 Subject: [PATCH] Add autocomplete attr to component form Signed-off-by: gconsidine --- .../features/credentials/add-edit-credentials.view.html | 2 +- awx/ui/client/lib/components/form/form.directive.js | 3 ++- awx/ui/client/lib/components/form/form.partial.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/features/credentials/add-edit-credentials.view.html b/awx/ui/client/features/credentials/add-edit-credentials.view.html index ccdded4416..39a4a1b20e 100644 --- a/awx/ui/client/features/credentials/add-edit-credentials.view.html +++ b/awx/ui/client/features/credentials/add-edit-credentials.view.html @@ -7,7 +7,7 @@ - + diff --git a/awx/ui/client/lib/components/form/form.directive.js b/awx/ui/client/lib/components/form/form.directive.js index 018ca393e7..17b781debc 100644 --- a/awx/ui/client/lib/components/form/form.directive.js +++ b/awx/ui/client/lib/components/form/form.directive.js @@ -209,7 +209,8 @@ function atForm () { controllerAs: 'vm', link: atFormLink, scope: { - state: '=' + state: '=', + autocomplete: '@' } }; } diff --git a/awx/ui/client/lib/components/form/form.partial.html b/awx/ui/client/lib/components/form/form.partial.html index 881f857fe6..dbfbd6cae5 100644 --- a/awx/ui/client/lib/components/form/form.partial.html +++ b/awx/ui/client/lib/components/form/form.partial.html @@ -1,7 +1,7 @@
-
+
- +