mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue with auto-complete not working as expected with double quotes. #5551
This commit is contained in:
parent
d7eb9f723f
commit
953fb31e14
@ -27,6 +27,7 @@ Bug fixes
|
||||
|
||||
| `Issue #5453 <https://github.com/pgadmin-org/pgadmin4/issues/5453>`_ - Fixed an issue where Transaction IDs were not found in session in the Query Tool.
|
||||
| `Issue #5470 <https://github.com/pgadmin-org/pgadmin4/issues/5470>`_ - Fixed an issue where tablespace was missing on partition tables in SQL.
|
||||
| `Issue #5551 <https://github.com/pgadmin-org/pgadmin4/issues/5551>`_ - Fixed an issue with auto-complete not working as expected with double quotes.
|
||||
| `Issue #5564 <https://github.com/pgadmin-org/pgadmin4/issues/5564>`_ - Ensure that table statistics are sorted by size.
|
||||
| `Issue #5603 <https://github.com/pgadmin-org/pgadmin4/issues/5603>`_ - Fixed an issue where master password was not set correctly with external config database.
|
||||
| `Issue #5606 <https://github.com/pgadmin-org/pgadmin4/issues/5606>`_ - Fixed an error in the collation create script for PG-15.
|
||||
|
@ -154,7 +154,7 @@ function registerAutocomplete(api, transId, sqlEditorPref, onFailure) {
|
||||
token.string = token.string.slice(0, cur.ch - token.start);
|
||||
}
|
||||
|
||||
if (token.string.match(/^[.`\w@]\w*$/)) {
|
||||
if (token.string.match(/^[."`\w@]\w*$/)) {
|
||||
search = token.string;
|
||||
start = token.start;
|
||||
end = token.end;
|
||||
@ -179,7 +179,7 @@ function registerAutocomplete(api, transId, sqlEditorPref, onFailure) {
|
||||
self_local.editor.state.autoCompleteList = [];
|
||||
|
||||
// Clear the auto complete list if previous token/search is blank or dot.
|
||||
if (prevSearch == '' || prevSearch == '.')
|
||||
if (prevSearch == '' || prevSearch == '.' || prevSearch == '"')
|
||||
self_local.editor.state.autoCompleteList = [];
|
||||
|
||||
prevSearch = search;
|
||||
|
Loading…
Reference in New Issue
Block a user