Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi file upload missing remove link #372

Open
chrisadesign opened this issue Jul 27, 2022 · 1 comment
Open

Multi file upload missing remove link #372

chrisadesign opened this issue Jul 27, 2022 · 1 comment

Comments

@chrisadesign
Copy link

Prerequisites

  • [ x] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem
    • Followed all applicable steps in the debugging guide
    • Checked the FAQs on the message board for common solutions
    • Checked that your issue doesn't exist: https://github.com/ministryofjustice/moj-frontend/issues
    • Checked that there is not already a package that provides the described functionality

Description

The multi file upload component is missing the link to remove an uploaded file. This happens on the design system example as well as locally for me.

image

Steps to Reproduce

  1. Upload a file
  2. Wait for file in 'Files added'
  3. Observe the lack of remove link

Expected behaviour: There should be a link to remove uploaded files.

Actual behaviour: There is no link to remove uploaded files.

Reproduces how often: Always.

Versions

This is happening on the live version of the design system. I'm on MacOS using Brave browser.

@gregtyler
Copy link
Contributor

I think this needs two things to resolve it properly:

  • Make the example work (can probably reuse the config/routes from the audit)
  • Add documentation about all the JavaScript configuration options, and what the AJAX endpoints should return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants