When updating the max value I would expect the slider to respond to this new value, but unfortunately it does not.
The only way I have found to update this value in realtime is to force rerender the component.
{{#if sliderReady}}
{{range-slider
start=start
min=1
max=calculatedTotal <-- When updating `calculateTotal` the slider does update to reflect the new value
connect=connect
tooltips=true
step=1
on-change="sliderChanged"
}}
{{/if}}
Basically, I observe the calculatedTotal change and then toggle the sliderReady value from true to false, and then back to true. This will rerender the range-slider with the udpated max value.
Version: 1.1.0
When updating the max value I would expect the slider to respond to this new value, but unfortunately it does not.
The only way I have found to update this value in realtime is to force rerender the component.
Basically, I observe the
calculatedTotal
change and then toggle thesliderReady
value from true to false, and then back to true. This will rerender therange-slider
with the udpatedmax
value.