Delete files with file picker/viewer widget

Hi,

The button for removing files from a file picker/viewer widget with multiple files enabled does not work

Expected behavior

When clicking on the “x” button on the image above, I would expect an action to be performed that removes that file from the array of files.

Actual behavior

Nothing seems to happen when I click the button (no errors in console.log, no network requests fired, not sure what else to check)
When double clicking the button, the “x” text is marked as selected (blue overlay)

Failure Logs

Nothing as far as I can see

Context

Please provide any relevant information about your setup.

  • Package Version: 5.4.0
  • Express Version: 4.16.4
  • Mongoose Version: 5.8.4
  • Database Dialect: MongoDB
  • Database Version: -
  • Project Name: Buffl.1

Hi @Joep,

Thank you for reaching out with your issue!

I’ve been unable to reproduce you issue so far. To see if any configuration differs between your field and mine, would you mind sharing the environment and team names on which you’re experiencing this issue?

@Joep, thank you for sending me those informations in private. However I’ll carry the issue resolution on this thread.

Could you also share with me the forest-express-mongoose version you’re currently using on your project?

@lamatt_v

FYI, I just ran an installation of V6 locally and tried this again through the dashboard, and the bug is still occuring on the document I sent you…

Regards,
Joep

@Joep, as the document is yours, on your admin panel, I’m not able to access it.

Does it happen only on some documents or all of them?

As far as I can tell it happens on all documents

Could you please send me (in private if you want) one of these document (anonymized) so I can try to reproduce on a document set as close as yours?