Skip to content

Build your personal knowledge base with Trilium Notes

chore(react/settings): use onBlur instead of onChange

Elian Doran1f479b20be39
diff --git a/apps/client/src/widgets/type_widgets/options/other.tsx b/apps/client/src/widgets/type_widgets/options/other.tsx
index 0794da7ee1..0923cb62c6 100644
--- a/apps/client/src/widgets/type_widgets/options/other.tsx
+++ b/apps/client/src/widgets/type_widgets/options/other.tsx
@@ -220,7 +220,7 @@ function HtmlImportTags() {
fontFamily: "var(--monospace-font-family)"
}), [])}
value={parsedValue}
- onChange={e => {
+ onBlur={e => {
const tags = e.currentTarget.value
.split(/[\n,\s]+/) // Split on newlines, commas, or spaces
.map((tag) => tag.trim())