diff --git a/frontend/src/components/project/partials/FilterInput.vue b/frontend/src/components/project/partials/FilterInput.vue index a3139b3f0..7fd965711 100644 --- a/frontend/src/components/project/partials/FilterInput.vue +++ b/frontend/src/components/project/partials/FilterInput.vue @@ -189,6 +189,7 @@ const projectStore = useProjectStore() function handleFieldInput() { const cursorPosition = filterInput.value.selectionStart const textUpToCursor = filterQuery.value.substring(0, cursorPosition) + autocompleteResults.value = [] AUTOCOMPLETE_FIELDS.forEach(field => { const pattern = new RegExp('(' + field + '\\s*' + FILTER_OPERATORS_REGEX + '\\s*)([\'"]?)([^\'"&|()]+\\1?)?$', 'ig')