Action::downloadURL uses action name for filename #6320
Unanswered
miagg
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When using static action
Action::downloadURL, the name parameter is also used for the downloaded filename. This in most cases is undesired behavior. We need a way to either have the actual filename (no download value on vue component) or add a third optional argument on the function to use for the filename.To Reproduce
Downloads file as
Download QR Code (SVG).svgTemporary Workaround (No dynamic name though using model)
Downloads file as
qrcode.svgSince name argument does not accept a callback, we can't name the file dynamically.
Suggestions
Desired behavior
Downloads file as
ak93js0d.svg(actual url filename)Optionally
Downloads file as
ak93js0d.svgThird argument needs to be
string|ClosureBeta Was this translation helpful? Give feedback.
All reactions