pucardotorg / dristi

MIT License
2 stars 8 forks source link

UAT Bug | Reselecting Document #195

Closed Taherabharmal closed 1 week ago

Taherabharmal commented 2 months ago

Module: User Registration User: Litigant, Advocate Screen: ID Verification

Issue: Once a document is selected, it cannot be deselected. On clicking the cross beside the file name - an option to reselect a doc is shown. On selection of any other docs, an error is shown

Recording:

Expected behaviour: 1) Document should be removed on clicking the cross beside the file 2) Selection of other files should be possible

SureshSoren commented 2 months ago

@Taherabharmal The current upload document digit component that we are using has limiter in which we restrict the no. of document we want to upload and since we have to send only one document we have set a limit to 1 so when we are upload another document on top of it it's showing an error.

cc: @manimaarans @krishnaprasadsannidhi

Vanshikajain02 commented 2 months ago

Steps to Reproduce -

  1. Enter your mobile number.
  2. Enter the user name and validate the number through OTP.
  3. ID verification screen is displayed.
  4. Choose ID Type and select the document.
  5. The User is not able to deselect the selected document.

**Expected Behaviour -**

  1. The document should be removed by clicking the cross icon beside the file.
  2. Selection of other files should be possible.

**Actual Behaviour -**

  1. Working as expected.

Status - PASS ( Working fine in dev env )