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

Collection's name already pre-filled when dropping a collection

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.39.3
    • Affects Version/s: 1.36.4
    • Component/s: Collection, UI / UX
    • Labels:
      None
    • Environment:
      OS: MacOS 13.3.1
      Additional info: MongoDB Compass 1.36.4
    • 1
    • Not Needed

      Problem Statement/Rationale

      After dropping a collection, the next time I click on "Delete collection" or "Drop collection", the confirmation pop-up/dialog displays the input field with the name of the previous collection pre-filled.

       

      Example after dropping the "changeloglocks" collection and clicking on drop collection on another collection.

      Steps to Reproduce

      1. Click on the "Delete collection" icon (trash can) in the database's collections view or on the three dots on the collections list on side bar, and choose "Drop collection".
      2. On the confirmation dialog, fill in the collection's name and click on "Drop collection".
      3. Repeat step 1.
      4. On the confirmation dialog, the collection's name from step 2 will be pre-filled.

      Expected Results

      The text input field in the confirmation dialog should be empty.

      Actual Results

      The text input field in the confirmation dialog gets pre-filled with the name of the previous dropped collection.

            Assignee:
            Unassigned Unassigned
            Reporter:
            borgesrodrigo.oliveira@gmail.com Rodrigo Borges
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: