Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7152

"Drop collection" name confirmation field is not cleared

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.39.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      When trying to drop a collection with compass, there's a text field in which you have to type in the collection's name in order to drop it.

      If you drop a collection, create it again (via code, not through compass) and then open the "drop collection" dialog again, the text in the "input field" is still populated with the collection's name (cached from the previous time it was dropped), enabling the "drop" button instantly and may lead to unintentionally dropped collection

      Steps to Reproduce

      Drop a collection, create it again (via code, not through compass) and then open the drop dialog again

      Expected Results

      I expect the text field for the drop collection confirmation to be cleared.

      Actual Results

      The text field for the drop collection confirmation should be cleared, to prevent accidental collection drops

            Assignee:
            Unassigned Unassigned
            Reporter:
            gsi12344321@gmail.com Eden Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: