fix: tag input now works

This commit is contained in:
Barf-Vader
2025-06-12 01:48:15 +01:00
parent 5b7f63f63f
commit 8a6f447202

View File

@@ -135,8 +135,8 @@
dropdownVisible = false; dropdownVisible = false;
}} }}
onkeypress={(event) => { onkeypress={(event) => {
event.preventDefault();
if (event.key === "Enter") { if (event.key === "Enter") {
event.preventDefault();
const tag = filteredTags[0]; const tag = filteredTags[0];
if (tag) addTag(tag)(); if (tag) addTag(tag)();
} }