mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 05:15:02 -02:30
changed the values for some forms thats have select drop down input fields
This commit is contained in:
@@ -87,7 +87,7 @@ angular.module('CredentialFormDefinition', [])
|
||||
label: 'Type',
|
||||
excludeModal: true,
|
||||
type: 'select',
|
||||
ngOptions: 'kind.label for kind in credential_kind_options',
|
||||
ngOptions: 'kind.label for kind in credential_kind_options track by kind.value', // select as label for value in array 'kind.label for kind in credential_kind_options',
|
||||
ngChange: 'kindChange()',
|
||||
addRequired: true,
|
||||
editRequired: true,
|
||||
|
||||
@@ -25,7 +25,7 @@ angular.module('HostGroupsFormDefinition', [])
|
||||
label: 'Groups',
|
||||
type: 'select',
|
||||
multiple: true,
|
||||
ngOptions: 'group.name for group in inventory_groups',
|
||||
ngOptions: 'group.name for group in inventory_groups track by group.value',
|
||||
addRequired: true,
|
||||
editRequired: true,
|
||||
awPopOver: "<p>Provide a host name, ip address, or ip address:port. Examples include:</p>" +
|
||||
|
||||
@@ -83,7 +83,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
|
||||
scm_type: {
|
||||
label: 'SCM Type',
|
||||
type: 'select',
|
||||
ngOptions: 'type.label for type in scm_type_options',
|
||||
ngOptions: 'type.label for type in scm_type_options track by type.value',
|
||||
ngChange: 'scmChange()',
|
||||
addRequired: true,
|
||||
editRequired: true
|
||||
|
||||
@@ -25,7 +25,7 @@ angular.module('SourceFormDefinition', [])
|
||||
source: {
|
||||
label: 'Source',
|
||||
type: 'select',
|
||||
ngOptions: 'source.label for source in source_type_options',
|
||||
ngOptions: 'source.label for source in source_type_options track by source.value',
|
||||
ngChange: 'sourceChange()',
|
||||
addRequired: false,
|
||||
editRequired: false
|
||||
|
||||
Reference in New Issue
Block a user