Fixed erronous clearing of value-fields in tagmappings, (hopefully) fixes #131

This commit is contained in:
Pieter Vander Vennet 2020-09-27 20:51:37 +02:00
parent 6509358f84
commit c53ccb7bae
6 changed files with 20 additions and 7 deletions

View file

@ -37,7 +37,6 @@ export class TextField extends InputElement<string> {
self.IsSelected.setData(true)
});
this.value.addCallback((t) => {
console.log("Setting actual value to", t);
const field = document.getElementById("txt-"+this.id);
if (field === undefined || field === null) {
return;