jedison 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3358,7 +3358,7 @@ class EditorNumberInput extends EditorNumber {
3358
3358
  });
3359
3359
  this.control.input.addEventListener("focus", () => {
3360
3360
  if (this.control.input.value === "0") {
3361
- this.control.input.value = this.instance.getValue().toString;
3361
+ this.control.input.value = this.instance.getValue().toString();
3362
3362
  }
3363
3363
  });
3364
3364
  this.control.input.addEventListener("blur", () => {
@@ -4709,6 +4709,9 @@ class EditorNumberRange extends EditorNumber {
4709
4709
  this.theme.adaptForTableInputControl(this.control);
4710
4710
  }
4711
4711
  addEventListeners() {
4712
+ this.control.input.addEventListener("input", () => {
4713
+ this.control.output.textContent = parseFloat(this.control.input.value);
4714
+ });
4712
4715
  this.control.input.addEventListener("change", () => {
4713
4716
  const value = parseFloat(this.control.input.value);
4714
4717
  this.control.output.textContent = value;