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

Bootstrap 3 :: Date range selection :: Disabling dates in the past once start date is selected. #1031

Closed
samsonkhisty opened this issue Aug 11, 2014 · 2 comments
Milestone

Comments

@samsonkhisty
Copy link

Similar to check in check out feature -> http://www.eyecon.ro/bootstrap-datepicker/

Once I select the start date, how do I disabled the end date calendar to disable the dates earlier than the start date.

Any pointers appreciated.

@acrobat
Copy link
Member

acrobat commented Dec 27, 2014

A fix is merged with #1036, as it's prevents the selection before startdate and after enddate. Closing this for now as error by previous behavior is fixed!

@acrobat acrobat closed this as completed Dec 27, 2014
@acrobat acrobat added this to the 1.4.0 milestone Dec 27, 2014
@acrobat acrobat mentioned this issue Dec 27, 2014
6 tasks
@niranjans
Copy link

@acrobat I looked into the commit and the fix but I am not sure how this addresses this issue. In the sandbox, if you navigate to Range option. How do you ensure that in the second input, you cannot select a date before what was selected in the first input? Right now, I am only able to disable dates in the past.

For example - If I select the date "05/10/2015" in the first input, I can still select "05/08/2015" in the second input. Is it possible to disable this based on the first input selection?

Thanks

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