mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 22:07:36 -02:30
Make codemirror ready-only when auth form field is disabled
This commit is contained in:
@@ -205,7 +205,8 @@ export default [
|
|||||||
scope: $scope.$parent,
|
scope: $scope.$parent,
|
||||||
variable: name,
|
variable: name,
|
||||||
parse_variable: 'parseType',
|
parse_variable: 'parseType',
|
||||||
field_id: form.formDef.name + '_' + name
|
field_id: form.formDef.name + '_' + name,
|
||||||
|
readOnly: $scope.$parent.configDataResolve[name] && $scope.$parent.configDataResolve[name].disabled ? true : false
|
||||||
});
|
});
|
||||||
$scope.parseTypeChange('parseType', name);
|
$scope.parseTypeChange('parseType', name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user