react-input-range icon indicating copy to clipboard operation
react-input-range copied to clipboard

Set min and max labels programatically

Open andylacko opened this issue 7 years ago • 1 comments

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 })}
          />

andylacko avatar Apr 30 '18 15:04 andylacko

Hi, any news on this issue ?

DrStricker avatar Aug 06 '20 14:08 DrStricker