mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-13 04:08:35 -05:00
Added awRequiredWhen directive. Make fields required only when an expression evaluates to true. Used on Permissions detail page to toggle Project required attribute based on permission type.
This commit is contained in:
@@ -41,7 +41,7 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
if ($routeParams['inventory__int']) {
|
||||
scope[list.iterator + 'SearchField'] = 'inventory';
|
||||
scope[list.iterator + 'SearchValue'] = $routeParams['inventory__int'];
|
||||
scope[list.iterator + 'SearchFieldLabel'] = 'Inventory';
|
||||
scope[list.iterator + 'SearchFieldLabel'] = 'Inventory ID';
|
||||
}
|
||||
scope.search(list.iterator);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user