Skip to content

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

temp fix the handleInputChange function

Ilian Sapundshiev46a4de0a9ac4
diff --git a/app/components/dialogs/EditEntryTagDialog.js b/app/components/dialogs/EditEntryTagDialog.js
index d36982f53..46d5ddbeb 100644
--- a/app/components/dialogs/EditEntryTagDialog.js
+++ b/app/components/dialogs/EditEntryTagDialog.js
@@ -67,11 +67,8 @@ const EditEntryTagDialog = (props: Props) => {
function handleInputChange(event: Object) {
const target = event.target;
const value = target.type === 'checkbox' ? target.checked : target.value;
- const name = target.name;
-
- this.setState({
- [name]: value
- }, handleValidation);
+ setTitle(value);
+ handleValidation();
}
function handleValidation() {