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.



But this error message doesn't clear when i load another file of correct extension. This error doesn't go off even after the new document with a valid extension is loaded as shown below.
This error is displayed till the page is refreshed.


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
  )
)

  Discussion posts and replies are publicly visible

Parents Reply Children