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

How to disable past dates #109

Open
rkrameshkumar71 opened this issue Dec 14, 2017 · 2 comments
Open

How to disable past dates #109

rkrameshkumar71 opened this issue Dec 14, 2017 · 2 comments

Comments

@rkrameshkumar71
Copy link

If i have select end date after selected end date all after end date dates disable how can i do PFA link below

http://jsfiddle.net/rkrameshkumar71/2Lu8hjrb/3/

@kundankumarmourya
Copy link

$('#rangestart').calendar({
type: 'date',
minDate: new Date(),
endCalendar: $('#rangeend'),
isDisabled: function (date, mode) {
return true;
},
});
$('#rangeend').calendar({
type: 'date',
startCalendar: $('#rangestart')
});

@lubber-de
Copy link

lubber-de commented Jan 22, 2019

Since the calendar has been merged into https://github.com/fomantic/Fomantic-UI , here are the docs
https://fomantic-ui.com/modules/calendar.html#minmax-date

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