Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix In addremove tags dialog the freesolo can be scipped with enter or ok button

sytolk2dd329c6a430
diff --git a/src/renderer/components/EntryContainer.tsx b/src/renderer/components/EntryContainer.tsx
index fd6c61e41..dcbe5c81e 100644
--- a/src/renderer/components/EntryContainer.tsx
+++ b/src/renderer/components/EntryContainer.tsx
@@ -25,7 +25,6 @@ import EntryContainerTitle from '-/components/EntryContainerTitle';
import FileView from '-/components/FileView';
import Tooltip from '-/components/Tooltip';
import TsButton from '-/components/TsButton';
-import AddRemoveTagsDialog from '-/components/dialogs/AddRemoveTagsDialog';
import ConfirmDialog from '-/components/dialogs/ConfirmDialog';
import { useResolveConflictContext } from '-/components/dialogs/hooks/useResolveConflictContext';
import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
diff --git a/src/renderer/components/TagsSelect.tsx b/src/renderer/components/TagsSelect.tsx
index b81296ad6..04d5510a2 100644
--- a/src/renderer/components/TagsSelect.tsx
+++ b/src/renderer/components/TagsSelect.tsx
@@ -143,7 +143,7 @@ function TagsSelect(props: Props) {
function handleInputChange(event: any, value: string, reason: string) {
tagsError.current = false;
- if (reason === 'input') {
+ if (reason === 'input' && !isUseOnlyTagsFromTagLibrary) {
const newTags = parseTagsInput(value);
if (handleNewTags) {
handleNewTags(newTags);