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:
nixocio 2021-06-16 16:00:57 -04:00 committed by Shane McDonald
parent 75a27c38c2
commit 1665acd58a
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -106,6 +106,7 @@ function CredentialInput({ fieldOptions, credentialKind, ...rest }) {
isLoading={fileIsUploading}
allowEditingUploadedText
validated={isValid ? 'default' : 'error'}
isDisabled={false}
/>
);
}