react-input-range
react-input-range copied to clipboard
Set min and max labels programatically
hello, my client applies to be the min/max labels as the min and max values on the slider, is it, or will it be possible to set thees 2 values programatically? Now I can only set formatting and that is not enough. Now I am trying to fight the plugin css to set position of movable labels, but it seem really unethical to me doing it this way
this is my code now:
<InputRange
maxValue={50}
formatLabel={value => `${value}°`}
value={temperature}
minValue={-50}
onChange={value => this.updateTemperature({ ...value })}
/>
Hi, any news on this issue ?