We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4af2f2 commit ef4957fCopy full SHA for ef4957f
webiojs/src/models/input/slider.ts
@@ -64,6 +64,12 @@ export class Slider extends InputItem {
64
65
update_input(spec: any): any {
66
let attributes = spec.attributes;
67
+ if ('value' in attributes) {
68
+ let range_value = this.element.find('.form-control-range-value');
69
+ range_value.text(
70
+ this.spec['float'] ? this.get_value().toFixed(2) : attributes.value
71
+ );
72
+ }
73
this.update_input_helper(-1, attributes);
74
}
75
0 commit comments