-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
Affects Version/s: 1.36.2, 1.36.3
-
Component/s: Autocomplete
-
None
-
Environment:OS: Windows 11
node.js / npm versions: node v19.3.0 / npm version 9.2.0
Additional info: When typing part of a field name in the filter section of the query a list of suggested field names begin to appear but when I hit tab on the keyboard it no longer autocompletes the field syntax for me in the query. This bug occurs in the Filter, Project, Sort and Collation sections of the query.
OS: Windows 11 node.js / npm versions: node v19.3.0 / npm version 9.2.0 Additional info: When typing part of a field name in the filter section of the query a list of suggested field names begin to appear but when I hit tab on the keyboard it no longer autocompletes the field syntax for me in the query. This bug occurs in the Filter, Project, Sort and Collation sections of the query.
-
Not Needed
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
When part typing a field name and subsequently hitting the tab button on the keyboard the field name is no longer being autocompleted in the query filter section. I understand this is minor but it is becoming really annoying. If I click the field name with the mouse it is slightly better but still doesn't exhibit the right behaviour. Please fix this for both the tab button press and mouse click on Filter, Project, Sort and Collation sections of the query.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
1) Open a collection and start to type the first few letters of a known field of a document in the Filter section of the query until the desired field is at the top (highlighted in grey) and then hit the tab button.
2) Open a collection and start to type the first few letters of a known field of a document in the Filter section of the query then select the desired field with mouse and click.
Expected Results
What do you expect to happen?
1) Field name should be autocompleted and surrounded by quotes e.g. I start to type Na and see the word Name appear, hit tab and would expect "Name" to be displayed in the query as it used to.{}
2) Field name should be autocompleted and surrounded by quotes e.g. I start to type Na and see the word Name appear, use the mouse to click on Name and would expect "Name" to be displayed in the query.{}
Actual Results
What do you observe is happening?
1) The query only displays part of the field name which is the letters I had typed before hitting the tab button followed by the tabbed spacing
2) The query only displays the field name but without the quotes surrounding it
Additional Notes
Any additional information that may be useful to include.
Please see attached screenshots. Screenshot 3 is what I would expect to be displayed but Screenshot 2 is what is actually displayed.