mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 21:46:00 -03:30
Drag-n-drop directive
Add aw-drop-file directive to a textarea form element. User can drop a file (any file) onto the field and the contents as text will be placed in the textarea. Added this directive to credentials ssh_key field.
This commit is contained in:
@@ -240,6 +240,7 @@ angular.module('CredentialFormDefinition', [])
|
||||
},
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
awDropFile: true,
|
||||
'class': 'ssh-key-field',
|
||||
rows: 10
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user