Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max value and min value issue #3

Open
sajanv88 opened this issue Jun 23, 2019 · 2 comments
Open

max value and min value issue #3

sajanv88 opened this issue Jun 23, 2019 · 2 comments

Comments

@sajanv88
Copy link

I noticed the maxValue and minValue is not working correctly for example:

 const valueRange: {
      start: "00:00",
      end: "23:59"
    }
const value: { 
  start: "08:30",
 end: "11:30"
}
<template>
<TimeRangeSlider
          format={24}
          disabled={false}
	draggableTrack={true}
          maxValue={valueRange.end}
          minValue={valueRange.start}
          name={"time_range"}
          step={15}
          value={this.value}/>
</template>

Expected: for the above code the draggableTrack shouldn't be draggable when it reach to it maxValue and same for minValue.

Current: I can drag the track about the maxValue and same for minValue.

@ashvin27
Copy link
Owner

ashvin27 commented Aug 14, 2019

I'm checked it is working fine. Can you please share me some more details.

@sanjayg-infobeans
Copy link

Same issue I have noticed during dragging track to most right/left side in demo https://ashvin27.github.io/react-time-range-slider/examples/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants