Merge pull request #2587 from tugcekucukoglu/min-range
Fixed #2104 - [BUG] Range slider cannot be set to [min, min]pull/2590/head
commit
63984a7e6b
|
@ -312,7 +312,7 @@ export default {
|
|||
return 0;
|
||||
},
|
||||
rangeEndPosition() {
|
||||
if (this.modelValue && this.modelValue[1])
|
||||
if (this.modelValue && this.modelValue.length === 2)
|
||||
return (this.modelValue[1] > this.max ? 100 : this.modelValue[1] - this.min) * 100 / (this.max - this.min);
|
||||
else
|
||||
return 100;
|
||||
|
|
Loading…
Reference in New Issue