• Ammar Alakkad's avatar
    Change file input on upload license page to a dropzone · ce1c426d
    Ammar Alakkad authored
    Substitutes a Rails-rendered file input with a Vue dropzone component on upload
    license page. Now the user can use file picker window or drag-n-drop a file
    onto the form.
    
    Because the dropzone is used inside a Ruby form (not inside a Vue form), some
    changes were made to upload_dropzone component to support this: Allow
    upload_dropzone to use dynamic input name and to modify its input files
    property when files are droppped on it.
    
    Changelog: changed
    EE: true
    ce1c426d
admin_uploads_license_spec.rb 3.51 KB