mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -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:
parent
9e8ec0ebd0
commit
8e28c73623
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user