mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 11:55:04 -02:30
Allow edit fields to custom credential types
The logic to disable certain fields is just valid for `encrypted` fields. Since the multiline field - no secret, does not have a button to `replace` the content to null - it was always set to disabled. Fix: https://github.com/ansible/awx/issues/10079
This commit is contained in:
@@ -106,6 +106,7 @@ function CredentialInput({ fieldOptions, credentialKind, ...rest }) {
|
|||||||
isLoading={fileIsUploading}
|
isLoading={fileIsUploading}
|
||||||
allowEditingUploadedText
|
allowEditingUploadedText
|
||||||
validated={isValid ? 'default' : 'error'}
|
validated={isValid ? 'default' : 'error'}
|
||||||
|
isDisabled={false}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user