SangeethKarunaratne / building-sat-

0 stars 0 forks source link

Deleting an entry in manage materials - warning sign #50

Closed Dilshi830 closed 2 years ago

Dilshi830 commented 2 years ago

Describe the bug In the manage materials section, display a warning message asking if the user is sure to delete the entries chosen.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Dilshi830 commented 2 years ago

The delete button has been disabled. This was not exactly the requirement. The delete button should function but instead of the entry been deleted immediately, maybe add a warning sign stating "Are you sure you want to delete this entry?' and then the user can proceed to confirm with a 'yes' or 'no'

SangeethKarunaratne commented 2 years ago

Duplicate: #44