Etemplate: Changes to adapt to get/set in valueWidget interface

This commit is contained in:
nathangray
2021-05-19 13:54:56 -06:00
parent 94f5c437e8
commit 6790ffb273
11 changed files with 7 additions and 16 deletions

View File

@ -69,6 +69,7 @@ var et2_progress = /** @class */ (function (_super) {
};
// setting the value as width of the progress-bar
et2_progress.prototype.set_value = function (_value) {
_super.prototype.set_value.call(this, _value);
_value = parseInt(_value) + "%"; // make sure we have percent attached
this.progress.style.width = _value;
if (!this.options.label)