Undefined variables in let widget: Revert fix for #7270

Reverts 8c378e0d24 and adds a test
This commit is contained in:
jeremy@jermolene.com
2023-03-10 09:41:18 +00:00
parent b16d695386
commit 007b759421
2 changed files with 16 additions and 3 deletions

View File

@@ -74,9 +74,7 @@ LetWidget.prototype.getVariableInfo = function(name,options) {
text: this.currentValueFor[name]
};
}
return Widget.prototype.getVariableInfo.call(this,name,$tw.utils.extend(Object.create(null),options,{
defaultValue: ""
}));
return Widget.prototype.getVariableInfo.call(this,name,options);
};
/*