mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 21:06:34 +00:00
fix input_slider with min>100 (#189)
* fix input_slider with min>100 * Don't update max twice * Update state-card-input_slider.html * Update state-card-input_slider.html
This commit is contained in:
parent
0f06434501
commit
f55154ddea
@ -59,8 +59,8 @@ Polymer({
|
|||||||
|
|
||||||
stateObjectChanged: function (newVal) {
|
stateObjectChanged: function (newVal) {
|
||||||
this.value = Number(newVal.state);
|
this.value = Number(newVal.state);
|
||||||
this.min = Number(newVal.attributes.min);
|
|
||||||
this.max = Number(newVal.attributes.max);
|
this.max = Number(newVal.attributes.max);
|
||||||
|
this.min = Number(newVal.attributes.min);
|
||||||
this.step = Number(newVal.attributes.step);
|
this.step = Number(newVal.attributes.step);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user