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:
Chris Houseknecht
2014-07-30 18:08:38 -04:00
parent 10d0fa7631
commit ca607f2372
3 changed files with 35 additions and 0 deletions

View File

@@ -240,6 +240,7 @@ angular.module('CredentialFormDefinition', [])
},
addRequired: false,
editRequired: false,
awDropFile: true,
'class': 'ssh-key-field',
rows: 10
},