diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index eb08bd74..af5c6e0a 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -81,7 +81,7 @@ module.exports = class Text extends _widgets_base { setValue(v) { - this.value = typeof v=='object' && !v.length ? this.defaultValue : v + this.value = v==null ? this.defaultValue : v this.widget.html(iconify(this.value)) }