mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
made organization required on custom inv script
the organization field of the custom inv script modal needed to have the astericks to indicate that it is required.
This commit is contained in:
@@ -37,11 +37,13 @@ angular.module('CustomInventoryFormDefinition', [])
|
||||
organization: {
|
||||
label: 'Organization',
|
||||
type: 'lookup',
|
||||
awRequiredWhen: {
|
||||
variable: "orgrequired",
|
||||
init: true
|
||||
},
|
||||
sourceModel: 'organization',
|
||||
sourceField: 'name',
|
||||
ngClick: 'lookUpOrganization()',
|
||||
addRequired: false,
|
||||
editRequired: false
|
||||
ngClick: 'lookUpOrganization()'
|
||||
},
|
||||
script: {
|
||||
label: 'Custom Script',
|
||||
|
||||
Reference in New Issue
Block a user