Globalshala / Eval-Bridge-bugs

In the Repository, we will add the bugs related to eval bridge system
0 stars 1 forks source link

Attached file not removed from file input filed #279

Open kartikatyagi opened 2 months ago

kartikatyagi commented 2 months ago

Describe the bug Issue 1: When we upload the csv file after that it is not automatically removing from the file input field we have to remove it manually Issue 2: When we have attached the csv file to upload for a respective organization then if we select another organization then attached csv file is not removed from the file input field Issue 3: when we upload csv file with duplicate entries or an empty csv file in that case the file does not gets uploaded so in that case there is no button to remove the selected file To Reproduce Steps to reproduce the behavior:

  1. Go to 'Csv upload'
  2. Click on 'choose file'
  3. click on submit button

Expected behavior Here’s the rephrased version of your updated issues:

Issue 1: The CSV file should be automatically cleared from the input field after a successful upload.

Issue 2: The CSV file should automatically be removed from the file input field when a different organization is selected from the dropdown.

Issue 3: There should be a button available to remove the selected file if a CSV file with duplicate entries or an empty file is uploaded. Screenshots If applicable, add screenshots to help explain your problem.

Issue 1: image

Issue 2 : screen recording : https://www.loom.com/share/8658505cf98f4069ac672742d4012eff?sid=25260e33-17fd-4d0a-b1a8-265790fb7137Issue 3: image image

kartikatyagi commented 1 month ago

Working as expected

fixed in dev

https://www.loom.com/share/580c7dba8ae5496ba2fbab4def20492d?sid=63558fa5-7aba-4ff4-966f-b94f668201b5

shivanim11 commented 4 weeks ago

Fixed on dev