mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 16:01:50 -05:00
Credentials
Fixed form validation issues when adding a cloud credential. The email address field was being required even though it wasn't visible.
This commit is contained in:
@@ -140,7 +140,7 @@ angular.module('CredentialFormDefinition', [])
|
||||
ngShow: "kind.value && kind.value !== 'aws' && " +
|
||||
"kind.value !== 'gce' && kind.value!=='azure'",
|
||||
awRequiredWhen: {
|
||||
variable: 'aws_required',
|
||||
variable: 'username_required',
|
||||
init: false
|
||||
},
|
||||
autocomplete: false
|
||||
@@ -150,7 +150,7 @@ angular.module('CredentialFormDefinition', [])
|
||||
type: 'email',
|
||||
ngShow: "kind.value === 'gce'",
|
||||
awRequiredWhen: {
|
||||
variable: 'username_required',
|
||||
variable: 'email_required',
|
||||
init: false
|
||||
},
|
||||
autocomplete: false
|
||||
|
||||
Reference in New Issue
Block a user