mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Merge pull request #348 from gconsidine/ui/fix/disable-autofill-on-form
Add autocomplete attr to component form
This commit is contained in:
commit
d02221702f
@ -7,7 +7,7 @@
|
||||
</at-tab-group>
|
||||
|
||||
<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="2" state="vm.form.description"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
||||
|
||||
@ -209,7 +209,8 @@ function atForm () {
|
||||
controllerAs: 'vm',
|
||||
link: atFormLink,
|
||||
scope: {
|
||||
state: '='
|
||||
state: '=',
|
||||
autocomplete: '@'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div>
|
||||
<form>
|
||||
<form ng-attr-autocomplete="{{::autocomplete || undefined }}">
|
||||
<div class="row">
|
||||
<ng-transclude></ng-transclude>
|
||||
<ng-transclude></ng-transclude>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user