Question
File Extension Blocking in File Upload Component.
Hi,
We have defined the list of file extensions which are to be allowed via admin console as shown below.
When we try to load any file which has an extension(png) that is not present in the admin console, it prompts an error message to the user as shown below which is expected.
Had anyone faced similar issue, or any inputs to overcome this?
Code snippet:
a!localVariables(
local!files,
a!fileUploadField(
label: "Upload Document",
value: local!files,
saveInto: local!files,
target: cons!TEST_UPLOAD_FOLDER
)
)
