[COMPASS-5099] Unable to change datatype in on add document functionality Created: 16/Sep/21  Updated: 27/Oct/23  Resolved: 10/Jun/22

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.28.4
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Atul Kaushal Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB cloud


Issue Links:
Related
is related to COMPASS-3267 Field type editing in table view, cli... Closed
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

Trying to change the default datatype to object but dropdown is hiding if I try to scroll. I tried using arrow keys they are also not working.

Steps to Reproduce

  1. Connect to db using Compass and open collection.
  2. Click on "Add Data" button -> Insert Document.
  3. Switch to Non-JSON view where you can specify values.
  4. Add any attribute and for value try to change the datatype from string to object from dropdown.

Expected Results

User should be able to select any datatype using mouse or arrow keys.

Actual Results

Datatype dropdown is collapsing as soon as you click on scrollbar or anywhere on the dropdown. Arrow keys are also not working. Due to which user is not able to select desired datatype.

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Maurizio Casimirri [ 10/Jun/22 ]

atul.hkaushal@gmail.com this has been fixed recently, going to close, feel free to reopen if you can still confirm it with 1.32.2

Comment by Atul Kaushal [ 17/Sep/21 ]

quick work around is to switch view to JSON view and add {} for object and switch back to key value pair view.

Generated at Wed Feb 07 22:38:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.