mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Add autocomplete attr to component form
Signed-off-by: gconsidine <greg@gregconsidine.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
</at-tab-group>
|
</at-tab-group>
|
||||||
|
|
||||||
<at-panel-body>
|
<at-panel-body>
|
||||||
<at-form state="vm.form">
|
<at-form state="vm.form" autocomplete="off">
|
||||||
<at-input-text col="4" tab="1" state="vm.form.name"></at-input-text>
|
<at-input-text col="4" tab="1" state="vm.form.name"></at-input-text>
|
||||||
<at-input-text col="4" tab="2" state="vm.form.description"></at-input-text>
|
<at-input-text col="4" tab="2" state="vm.form.description"></at-input-text>
|
||||||
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
||||||
|
|||||||
@@ -209,7 +209,8 @@ function atForm () {
|
|||||||
controllerAs: 'vm',
|
controllerAs: 'vm',
|
||||||
link: atFormLink,
|
link: atFormLink,
|
||||||
scope: {
|
scope: {
|
||||||
state: '='
|
state: '=',
|
||||||
|
autocomplete: '@'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<form>
|
<form ng-attr-autocomplete="{{::autocomplete || undefined }}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<ng-transclude></ng-transclude>
|
<ng-transclude></ng-transclude>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user