Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete overriding value after if selected before with no space #68

Open
burkekevinm opened this issue Apr 16, 2021 · 0 comments
Open

Comments

@burkekevinm
Copy link

When searching and using autocomplete, it is replacing characters after the cursor when adding in the autocomplete value. The issue is unless you are paying attention you don't realize it's dropping off fields from your query.

Steps to reproduce:

  1. Enter the query "Select Id, Name, Phone from Account limit 10"
  2. Have "account" selected in the object dropdown for autocomplete
  3. Put your cursor right before the P in phone
  4. Start typing ty (to select Type)
  5. Hit the enter key to select Type from autocomplete

Results:
Query is updated and Type is added however, it deletes phone and now shows "select Id, Name, Type from Account limit 10"

Expected Results:
Query is updated to select Type and it replaces the characters before the cursor (for autocompletion) but does not replace the characters after so at the end of autocomplete the query would show "select Id, Name, TypePhone from Account limit 10" just as if you were completing in another IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant