department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
36 stars 55 forks source link

File Input v1 - VaChange event is not called #2780

Closed danbrady closed 2 weeks ago

danbrady commented 3 weeks ago

Bug Report

What happened

When you add a file, remove it, and then try to add a file with that same name again that the component VaChange event is not called.

Additional context:

What I expected to happen

A user should be able to re-attach a previously attached file and the change event should be triggered.

Reproducing

Steps to reproduce:

  1. Place v1 File Input on page
  2. Attach a file
  3. Observe change event trigger
  4. Remove the file attachment
  5. Re-attach file with same name
  6. Observe change event is not triggered

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

CC: @pmclaren19