You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of getting the filename I set within withFilename function followed by the extesion I selected in the dropdown menu, I get only documents without any extesion.
This is happening only when askForWriterType is used in combination with withFilename function.
I have seen in the documentation that when using withFilename, I should specify the file extension within the function parameter, like withFilename('documents.html'), but the file type beeing dynamic, how I can get what file type the user selected within the dropdown menu?
Steps to Reproduce
Just add the above code in your Nova component.
Expected behavior:
The name of the file I want to download should be documents. followed by the extesion I selected in the dropdown list. For example, if I select html, I should get documents.html.
Actual behavior:
Instead of getting the filename I set within withFilename function followed by the extesion I selected in the dropdown menu, I get only documents without any extesion.
The text was updated successfully, but these errors were encountered:
Prerequisites
Versions
Description
I have the following in my
actions()
function:Instead of getting the filename I set within
withFilename
function followed by the extesion I selected in the dropdown menu, I get onlydocuments
without any extesion.This is happening only when
askForWriterType
is used in combination withwithFilename
function.I have seen in the documentation that when using
withFilename
, I should specify the file extension within the function parameter, likewithFilename('documents.html')
, but the file type beeing dynamic, how I can get what file type the user selected within the dropdown menu?Steps to Reproduce
Just add the above code in your Nova component.
Expected behavior:
The name of the file I want to download should be
documents.
followed by the extesion I selected in the dropdown list. For example, if I selecthtml
, I should getdocuments.html
.Actual behavior:
Instead of getting the filename I set within
withFilename
function followed by the extesion I selected in the dropdown menu, I get onlydocuments
without any extesion.The text was updated successfully, but these errors were encountered: